view Python/getplatform.c @ 84679:cf8f42eadbd0

Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError)
author Victor Stinner <victor.stinner@gmail.com>
date Wed, 17 Jul 2013 00:17:15 +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;
}