view Python/getplatform.c @ 42687:ee9ebbf5f3dc legacy-trunk

Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers.
author Georg Brandl <georg@python.org>
date Tue, 21 Aug 2007 06:01:18 +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;
}