view Python/getplatform.c @ 21167:fd42eace50ea legacy-trunk

function_call(): Remove a bogus (and I mean *really* bogus) call to Py_DECREF(arg) after the PyErr_NoMemory() call. (Armin Rigo, SF bug #488477.)
author Guido van Rossum <guido@python.org>
date Mon, 03 Dec 2001 19:22:38 +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;
}