view Python/getplatform.c @ 42283:18e5ae91bd29

Make chr() and ord() return/accept surrogate pairs in narrow builds. The domain of chr() and the range of ord() are now always [0 ... 0x10FFFF].
author Guido van Rossum <guido@python.org>
date Sun, 15 Jul 2007 13:00:05 +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;
}