view Python/getplatform.c @ 21510:85e694e9b9fc 2.1

backport 2.153: Missing DECREFs when exception is raised in sys.excepthook.
author Anthony Baxter <anthonybaxter@gmail.com>
date Fri, 21 Dec 2001 03:46:12 +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;
}