view Python/getplatform.c @ 49696:2e0857b0fc67 legacy-trunk

check for assignment to __debug__ during AST generation Also, give assignment to None a better error message
author Benjamin Peterson <benjamin@python.org>
date Sat, 08 Nov 2008 18:38:54 +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;
}