view Python/getplatform.c @ 30309:fed6501188da 2.3

Catch locale.error as well. Fixes #788378.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 03 Sep 2003 05:15:20 +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;
}