view Python/getplatform.c @ 74504:f0cbceef47c3 3.2

Fix the builtin module initialization code to store the init function for future reinitialization.
author Antoine Pitrou <solipsis@pitrou.net>
date Wed, 18 Jan 2012 20:16:09 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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