view Python/getplatform.c @ 50307:e2bbbc06d92c legacy-trunk

Patch #4739 by David Laban: add symbols to pydoc help topics, so that ``help('@')`` works as expected.
author Georg Brandl <georg@python.org>
date Sat, 27 Dec 2008 18:20:04 +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;
}