view Python/getplatform.c @ 55822:6758bf2002da legacy-trunk

#5101: add back tests to test_funcattrs that were lost during unittest conversion, and make some PEP8 cleanups.
author Georg Brandl <georg@python.org>
date Fri, 04 Sep 2009 11:19:34 +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;
}