view Python/getplatform.c @ 40922:be41da66ce37

Fix leak in the print function.
author Georg Brandl <georg@python.org>
date Mon, 26 Feb 2007 10:35:10 +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;
}