view Python/getplatform.c @ 65638:d7d323de35e7

sys_update_path(): update sys.path even if argc==0
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 25 Oct 2010 17:37:23 +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;
}