view Python/getplatform.c @ 85502:bfaf3a2907bd

Factor-out the common code for setting a KeyError.
author Raymond Hettinger <python@rcn.com>
date Mon, 02 Sep 2013 15:59:26 -0700
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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