view Python/getplatform.c @ 56519:cdcd805eee85 legacy-trunk

Silence a py3k warning claiming to affect Lib/calendar.py
author Antoine Pitrou <solipsis@pitrou.net>
date Wed, 14 Oct 2009 18:09:45 +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;
}