view Python/getplatform.c @ 65380:844ed6dddc03

imp.cache_from_source() uses PyUnicode_FSConverter() to support surrogates in module path
author Victor Stinner <victor.stinner@haypocalc.com>
date Fri, 15 Oct 2010 20:34:32 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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