view Python/getplatform.c @ 43560:ac62eb267206

Remove the buffer API from PyUnicode as specified by PEP 3137. Also, fix the error message of the 't' format unit, in getargs.c, so that it asks for bytes, instead of string.
author Alexandre Vassalotti <alexandre@peadrop.com>
date Sun, 14 Oct 2007 02:05:51 +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;
}