view Python/getplatform.c @ 40410:2e5011acb414

Add built-in Print() function. This is PEP 3105 except for the name; I'll rename it to print() later. Now I can start working on the refactoring tool for print -> Print(). Also, sep and end should be required to be strings (or Unicode?). Someone please volunteer.
author Guido van Rossum <guido@python.org>
date Thu, 30 Nov 2006 22:13:52 +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;
}