view Python/getplatform.c @ 78042:efb5e6ab10f4

Issue #15167 (as part of #13959): imp.get_magic() is no implemented in Lib/imp.py.
author Brett Cannon <brett@python.org>
date Mon, 09 Jul 2012 16:09:00 -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;
}