view Python/getplatform.c @ 46204:29ea507fd998 legacy-trunk

Make _fields attr for no fields consistent with _attributes attr.
author Georg Brandl <georg@python.org>
date Sun, 30 Mar 2008 19:00:49 +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;
}