view Python/getplatform.c @ 35773:0aef351223da legacy-trunk

Fix arigo's funky LOAD_NAME bug: implicit globals inside classes have historically been looked up using LOAD_NAME, not LOAD_GLOBAL. looked up by LOAD_NAME, not
author Neil Schemenauer <nascheme@enme.ucalgary.ca>
date Sun, 23 Oct 2005 04:24:49 +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;
}