view Python/getplatform.c @ 39970:54d177ede883 2.4

[Backport r51231 | neal.norwitz] PyModule_GetDict() can fail, produce fatal errors if this happens on startup. Klocwork #298-299.
author Andrew M. Kuchling <amk@amk.ca>
date Tue, 03 Oct 2006 19:08:48 +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;
}