view Python/getplatform.c @ 83784:cd9141a4f999 3.3

complain about "global __class__" in a class body (closes #17983)
author Benjamin Peterson <benjamin@python.org>
date Wed, 15 May 2013 16:17:25 -0500
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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