summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-27 18:01:58 (GMT)
committerBrett Cannon <brett@python.org>2012-04-27 18:01:58 (GMT)
commitce418b448f431f2e62f0517f337f5b6762f4ae45 (patch)
treeec7424354c7da9d2d19419d7619bbf1607915308 /PC/config.c
parent3c6ea1c14dc7a3eb67d46f96b3acdb83586f42ae (diff)
downloadcpython-ce418b448f431f2e62f0517f337f5b6762f4ae45.zip
cpython-ce418b448f431f2e62f0517f337f5b6762f4ae45.tar.gz
cpython-ce418b448f431f2e62f0517f337f5b6762f4ae45.tar.bz2
Issue #14605: Stop having implicit entries for sys.meta_path.
ImportWarning is raised if sys.meta_path is found to be empty.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/PC/config.c b/PC/config.c
index 2d2141d..57b5073 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -146,7 +146,6 @@ struct _inittab _PyImport_Inittab[] = {
{"_imp", PyInit_imp},
/* These entries are here for sys.builtin_module_names */
- {"__main__", NULL},
{"builtins", NULL},
{"sys", NULL},
{"_warnings", _PyWarnings_Init},