view Python/getplatform.c @ 37149:4d80607033fb 2.4

Change SystemError into SyntaxError, when a Unicode string containing an encoding declaration is compile()d. Fixes #1115379.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 22 Mar 2006 13:55:50 +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;
}