view Python/getplatform.c @ 76338:2df37938b8e1

Issue #13959: Re-implement imp.load_module() in imp.py.
author Brett Cannon <brett@python.org>
date Sun, 15 Apr 2012 20:25:23 -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;
}