view Python/getplatform.c @ 69148:7b8d625eb6e4

Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error.
author Victor Stinner <victor.stinner@haypocalc.com>
date Tue, 05 Apr 2011 01:48:03 +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;
}