view Python/getplatform.c @ 72879:41a1de81ef2b

PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.
author Antoine Pitrou <solipsis@pitrou.net>
date Wed, 12 Oct 2011 02:54:14 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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