view Python/getplatform.c @ 14662:2d6188c2ea56 legacy-trunk

Deferred the attribute name object type checking to the underlying PyObject_Set/GetAttr() calls. This patch fixes bug #113829.
author Marc-André Lemburg <mal@egenix.com>
date Mon, 18 Sep 2000 16:22:27 +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;
}