view Python/getplatform.c @ 51956:8fe2988cf550

ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626
author Benjamin Peterson <benjamin@python.org>
date Mon, 02 Mar 2009 23:31:26 +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;
}