view Python/getplatform.c @ 84417:de44cd866bb0

Issue #18339: use with self.assertRaises() to make test case more readable
author Christian Heimes <christian@cheimes.de>
date Mon, 01 Jul 2013 23:00:22 +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;
}