view Python/getplatform.c @ 44822:424cccfd2baa legacy-trunk

#1648: add sys.gettrace() and sys.getprofile().
author Georg Brandl <georg@python.org>
date Sun, 20 Jan 2008 13:59:46 +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;
}