view Python/getplatform.c @ 67193:b7be652daf6e

Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833.
author Georg Brandl <georg@python.org>
date Tue, 28 Dec 2010 18:30:18 +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;
}