view Python/getplatform.c @ 35418:37fa7b6dca9b 2.4

Forward UnicodeDecodeError into SyntaxError for source encoding errors.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 24 Aug 2005 08:39:46 +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;
}