view Python/getplatform.c @ 77154:294f8aeb4d4b

Implemented PEP 405 (Python virtual environments).
author Vinay Sajip <vinay_sajip@yahoo.co.uk>
date Sat, 26 May 2012 03:45:29 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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