view Python/getplatform.c @ 78943:ad3824a90261 3.2

Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
author Christian Heimes <christian@cheimes.de>
date Mon, 10 Sep 2012 03:08:46 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}