view Python/getplatform.c @ 43844:2c97e24b16cf

Another #1415 fix for Windows GUI apps print() mustn't raise an exception when sys.stdout is None.
author Christian Heimes <christian@cheimes.de>
date Tue, 13 Nov 2007 15:24:14 +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;
}