view Python/getplatform.c @ 78485:0a75ce232f56

Issue #15502: Finish bringing importlib.abc in line with the current state of the import system. Also make importlib.invalidate_caches() work with sys.meta_path instead of sys.path_importer_cache to completely separate the path-based import system from the overall import system. Patch by Eric Snow.
author Brett Cannon <brett@python.org>
date Fri, 10 Aug 2012 12:21:12 -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;
}