view Python/getplatform.c @ 74512:f55529aa023d

Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.
author Antoine Pitrou <solipsis@pitrou.net>
date Wed, 18 Jan 2012 22:31:12 +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;
}