view Python/getplatform.c @ 36794:df843b07f5fe legacy-trunk

Fix memory leak on attributes.
author Martin v. Löwis <martin@v.loewis.de>
date Thu, 02 Mar 2006 00:31:27 +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;
}