view Python/getplatform.c @ 45045:e791bb0adcde legacy-trunk

CallMethod is faster with a NULL third-argument than with an empty format string.
author Raymond Hettinger <python@rcn.com>
date Tue, 29 Jan 2008 19:52:09 +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;
}