view Python/getplatform.c @ 84563:aaa6e8b8a5c9

Issue #18408: Fix compiler_import() to handle PyUnicode_Substring() failure properly
author Victor Stinner <victor.stinner@gmail.com>
date Thu, 11 Jul 2013 22:50:45 +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;
}