view Python/getplatform.c @ 47516:f3df51b60dc2 legacy-trunk

change Py3k backquote warning to a SyntaxWarning and add a test
author Benjamin Peterson <benjamin@python.org>
date Sun, 08 Jun 2008 02:05:33 +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;
}