view Python/getplatform.c @ 62221:fe5ed70283ef

Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs, instead of warning. This makes it consistent with the other integer codes.
author Mark Dickinson <dickinsm@gmail.com>
date Thu, 10 Jun 2010 16:05:10 +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;
}