]> granicus.if.org Git - python/commitdiff
_PyImport_Inittab: define the exceptions module's init function.
authorBarry Warsaw <barry@python.org>
Tue, 23 Jan 2001 21:46:57 +0000 (21:46 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 23 Jan 2001 21:46:57 +0000 (21:46 +0000)
Fixes bug #121706.

Modules/config.c.in

index 0d5e8b061ac21595d43ab587a00bce3c93d6ef82..5a5878fe9a0fa3c08dc50059421f0ae5bdf3155e 100644 (file)
@@ -37,7 +37,7 @@ struct _inittab _PyImport_Inittab[] = {
        {"__main__", NULL},
        {"__builtin__", NULL},
        {"sys", NULL},
-       {"exceptions", NULL},
+       {"exceptions", init_exceptions},
 
        /* Sentinel */
        {0, 0}