view Python/getplatform.c @ 84729:92e27be3dd62

Add missing check of PyDict_SetItem()'s return value in _PyImport_FindExtensionObject() CID 486649
author Christian Heimes <christian@cheimes.de>
date Sat, 20 Jul 2013 14:52:18 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}