_PyImport_Inittab: define the exceptions module's init function.
Fixes bug #121706.
This commit is contained in:
parent
9080e9b938
commit
9ac33509de
|
@ -37,7 +37,7 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
{"__main__", NULL},
|
{"__main__", NULL},
|
||||||
{"__builtin__", NULL},
|
{"__builtin__", NULL},
|
||||||
{"sys", NULL},
|
{"sys", NULL},
|
||||||
{"exceptions", NULL},
|
{"exceptions", init_exceptions},
|
||||||
|
|
||||||
/* Sentinel */
|
/* Sentinel */
|
||||||
{0, 0}
|
{0, 0}
|
||||||
|
|
Loading…
Reference in New Issue