view Python/getplatform.c @ 54345:cdfd017cee90 legacy-trunk

#6112: list.remove raises ValueError, not RuntimeError.
author Georg Brandl <georg@python.org>
date Tue, 26 May 2009 07:50:23 +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;
}