view Python/getplatform.c @ 84647:2e42c0a39321

Issue #18408: Fix _Py_DisplaySourceLine() Report _Py_FindSourceFile() error, so the error is cleared; and clear io.open(filename) exception on failure.
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 16 Jul 2013 00:32:14 +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;
}