view Python/getplatform.c @ 37871:a47117fa3ca8

Fix (and add test for) missing check for BaseException subclasses in the C API.
author Thomas Wouters <thomas@python.org>
date Thu, 20 Apr 2006 22:42:37 +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;
}