view Python/getplatform.c @ 78456:4240282a9f4a

Issue #15471: Don't use mutable object as default values for the parameters of importlib.__import__().
author Brett Cannon <brett@python.org>
date Mon, 06 Aug 2012 16:34:44 -0400
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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