view Python/getplatform.c @ 56514:dc75d17dd304 legacy-trunk

Issue #1754094: Improve the stack depth calculation in the compiler. There should be no other effect than a small decrease in memory use. Patch by Christopher Tur Lesniewski-Laas.
author Neil Schemenauer <nascheme@enme.ucalgary.ca>
date Wed, 14 Oct 2009 17:17:14 +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;
}