view Python/getplatform.c @ 80936:7cfca9ede861

Add sanity assertions in some import lock code (issue #15599).
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 18 Dec 2012 22:18:58 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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