view Python/getplatform.c @ 38289:75e1cd22b56b legacy-trunk

Update graminit.c for the fix for #1488915, Multiple dots in relative import statement raise SyntaxError, and add testcase.
author Thomas Wouters <thomas@python.org>
date Thu, 25 May 2006 11:26:25 +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;
}