view Python/getplatform.c @ 59189:88f147d26372

check PyDict_New() for error
author Benjamin Peterson <benjamin@python.org>
date Sat, 27 Feb 2010 17:41:13 +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;
}