view Python/getplatform.c @ 50102:a6ddd94983ea 2.5

Backport issue 4597 to python 2.5.3: Fixed several opcodes that weren't always propagating exceptions.
author Jeffrey Yasskin <jyasskin@gmail.com>
date Wed, 10 Dec 2008 17:23:20 +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;
}