view Python/getplatform.c @ 33013:8ca8febc0a0d legacy-trunk

Fix [ 991812 ] PyArg_ParseTuple can miss errors with warnings as exceptions as suggested in the report. This is definitely a 2.3 candidate (as are most of the checkins I've made in the last month...)
author Michael W. Hudson <mwh@python.net>
date Sat, 07 Aug 2004 17:57: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;
}