view Python/getplatform.c @ 35117:7ea2be2c0e1d legacy-trunk

Fix bug: [ 1163563 ] Sub threads execute in restricted mode basically by fixing bug 1010677 in a non-broken way. Backport candidate.
author Michael W. Hudson <mwh@python.net>
date Mon, 20 Jun 2005 16:52:57 +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;
}