view Python/getplatform.c @ 76381:66bd85bcf916

Issue #13959: Re-implement imp.load_compiled() in imp.py.
author Brett Cannon <brett@python.org>
date Tue, 17 Apr 2012 19:14:26 -0400
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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