view Python/getplatform.c @ 49484:0b7e023803fb

Issues #2384 and #3975: Tracebacks were not correctly printed when the source file contains a ``coding:`` header: the wrong line was displayed, and the encoding was not respected. Patch by Victor Stinner.
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Thu, 09 Oct 2008 23:37:48 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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