view Python/getplatform.c @ 24190:a2bcb00dcbd5 legacy-trunk

Don't stomp on an exception set by PyCell_Get()
author Jeremy Hylton <jeremy@alum.mit.edu>
date Thu, 11 Jul 2002 16:56:38 +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;
}