view Python/getplatform.c @ 51145:9742e8a4dca1

Issue #4707: round(x, n) now returns an integer when x is an integer. Previously it returned a float.
author Mark Dickinson <dickinsm@gmail.com>
date Wed, 28 Jan 2009 21:25: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;
}