view Python/getplatform.c @ 34553:cd04f2d18a6f legacy-trunk

Adopt Skip's idea to optimize lists of constants in the context of a "in" or "not in" test.
author Raymond Hettinger <python@rcn.com>
date Mon, 07 Feb 2005 19:32:38 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}