view Python/getplatform.c @ 20500:fddacefeeb36 legacy-trunk

Oops. Catching OverflowError from int() doesn't help, since it raises ValueError on too-large inputs.
author Guido van Rossum <guido@python.org>
date Wed, 17 Oct 2001 17:21:47 +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;
}