view Python/getplatform.c @ 87107:f7d401eaee0e

Issue #19437: Fix init_builtin(), handle _PyImport_FindExtensionObject() failure
author Victor Stinner <victor.stinner@gmail.com>
date Thu, 14 Nov 2013 22:38:52 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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