view Python/getplatform.c @ 20720:aaefc2f21bae legacy-trunk

vgetargskeywords: Verify kwlist has the required length while parsing the format, instead of waiting until after we can overindex it by mistake.
author Tim Peters <tim.peters@gmail.com>
date Sat, 27 Oct 2001 06:42:16 +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;
}