mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Add "exceptions" to list of built-in modules for the sake of
sys.builtin_module_names. (Noticed by Toby Dickenson.) [Tim, please test!]
This commit is contained in:
parent
3f2fa0a53d
commit
f981c8f915
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ struct _inittab _PyImport_Inittab[] = {
|
||||||
{"__main__", NULL},
|
{"__main__", NULL},
|
||||||
{"__builtin__", NULL},
|
{"__builtin__", NULL},
|
||||||
{"sys", NULL},
|
{"sys", NULL},
|
||||||
|
{"exceptions", NULL},
|
||||||
|
|
||||||
/* Sentinel */
|
/* Sentinel */
|
||||||
{0, 0}
|
{0, 0}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue