view Python/getplatform.c @ 36729:d6cbc71b8010 legacy-trunk

Generally inehrit codeflags that are in PyCF_MASK, instead of writing it out in multiple places. This makes compile()/eval()/etc also inherit the absolute-import codeflag, like division and with-statement already were.
author Thomas Wouters <thomas@python.org>
date Tue, 28 Feb 2006 20:02:27 +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;
}