view Python/getplatform.c @ 70901:b4a7cd376d6f

call_find_module() handles dup() failure: raise an OSError exception
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 20 Jun 2011 15:16:55 +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;
}