view Python/getplatform.c @ 86317:d513149e0c19 2.7

Refer to strftime(3) manpage for platform specific format codes. Suggested by Skip Montanaro on docs@.
author Georg Brandl <georg@python.org>
date Sun, 13 Oct 2013 18:28:25 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}