view Python/getplatform.c @ 76314:c7bf93802f5d

Plug a refleak.
author Brett Cannon <brett@python.org>
date Sun, 15 Apr 2012 01:35:05 -0400
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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