view Python/getplatform.c @ 54329:145376df3ad7 legacy-trunk

add a SETUP_WITH opcode It speeds up the with statement and correctly looks up the special methods involved.
author Benjamin Peterson <benjamin@python.org>
date Mon, 25 May 2009 13:13:44 +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;
}