From: Barry Warsaw Date: Tue, 23 Jan 2001 21:46:57 +0000 (+0000) Subject: _PyImport_Inittab: define the exceptions module's init function. X-Git-Tag: v2.1a2~261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ac33509de0895595a825b7168abeacbb1d9984c;p=python _PyImport_Inittab: define the exceptions module's init function. Fixes bug #121706. --- diff --git a/Modules/config.c.in b/Modules/config.c.in index 0d5e8b061a..5a5878fe9a 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}