view Python/getplatform.c @ 67047:e3af5f3a7904 v3.2b2

#3243 follow-up: remove debugging print and fix docs; data is a bytes object.
author Georg Brandl <georg@python.org>
date Sun, 19 Dec 2010 12:33: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;
}