view Python/getplatform.c @ 24284:d8909792005a legacy-trunk

SF patch 552161 - Py_AddPendingCall doesn't unlock on fail (Daniel Dunbar) Can't test this, but looks correct to me.
author Guido van Rossum <guido@python.org>
date Wed, 17 Jul 2002 16:57:13 +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;
}