view Python/getplatform.c @ 64965:3d490c3a019e

Since __import__ is not designed for general use, have its docstring point people towards importlib.import_module(). Closes issue #7397.
author Brett Cannon <bcannon@gmail.com>
date Mon, 27 Sep 2010 21:08:38 +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;
}