view Python/getplatform.c @ 84171:205aa49e5cd5

Issue #18115: Abstract out managing the cleanup of modules to use in loaders where C code provides the loaded module.
author Brett Cannon <brett@python.org>
date Sun, 16 Jun 2013 17:23:06 -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;
}