view Python/getplatform.c @ 28651:7fda09f751ad legacy-trunk

- New C API PyGC_Collect(), same as calling gc.collect(). - Call this in Py_Finalize(). - Expand the Misc/NEWS text on PY_LONG_LONG.
author Guido van Rossum <guido@python.org>
date Thu, 17 Apr 2003 17:29:22 +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;
}