view Python/getplatform.c @ 57422:b9b683eedee1 legacy-trunk

round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this.
author Mark Dickinson <dickinsm@gmail.com>
date Tue, 24 Nov 2009 10:54:58 +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;
}