view Python/getplatform.c @ 55362:7bf8fc20037a legacy-trunk

the Slice in x[::] has to have step as None to help the interpreter
author Benjamin Peterson <benjamin@python.org>
date Mon, 20 Jul 2009 20:28:08 +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;
}