view Python/getplatform.c @ 40405:4e368e82c70d legacy-trunk

Forgot a case where the locals can now be a general mapping instead of just a dictionary. (backporting...)
author Armin Rigo <arigo@tunes.org>
date Wed, 29 Nov 2006 21:59:22 +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;
}