view Python/getplatform.c @ 84795:31796b188bec

Issue #18520: Fix _PySys_Init(), handle PyDict_SetItemString() errors
author Victor Stinner <victor.stinner@gmail.com>
date Mon, 22 Jul 2013 22:40:00 +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;
}