view Python/getplatform.c @ 84648:92a9ccb2a521

Issue #18408: add more assertions on PyErr_Occurred() in ceval.c to detect bugs earlier
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 16 Jul 2013 01:02:12 +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;
}