summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-01-23 21:46:57 (GMT)
committerBarry Warsaw <barry@python.org>2001-01-23 21:46:57 (GMT)
commit9ac33509de0895595a825b7168abeacbb1d9984c (patch)
tree507e39306fe7b20bf7970a4be561534087fe1fba
parent9080e9b9381b8a69e35194f8bc63d47fddda89a3 (diff)
downloadcpython-9ac33509de0895595a825b7168abeacbb1d9984c.zip
cpython-9ac33509de0895595a825b7168abeacbb1d9984c.tar.gz
cpython-9ac33509de0895595a825b7168abeacbb1d9984c.tar.bz2
_PyImport_Inittab: define the exceptions module's init function.
Fixes bug #121706.
-rw-r--r--Modules/config.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 0d5e8b0..5a5878f 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -37,7 +37,7 @@ struct _inittab _PyImport_Inittab[] = {
{"__main__", NULL},
{"__builtin__", NULL},
{"sys", NULL},
- {"exceptions", NULL},
+ {"exceptions", init_exceptions},
/* Sentinel */
{0, 0}