view Python/getplatform.c @ 47722:7ba7901dad7f

Implicit exception chaining via __context__ (PEP 3134). Patch 3108 by Antooine Pitrou.
author Guido van Rossum <guido@python.org>
date Sat, 14 Jun 2008 20:20:24 +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;
}