From f981c8f9151eb7a6d6851c6b7f46a4c3e7619f15 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 12 Jul 2000 12:11:36 +0000 Subject: [PATCH] Add "exceptions" to list of built-in modules for the sake of sys.builtin_module_names. (Noticed by Toby Dickenson.) [Tim, please test!] --- PC/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/PC/config.c b/PC/config.c index f85415d8311..d9d9187f852 100644 --- a/PC/config.c +++ b/PC/config.c @@ -117,6 +117,7 @@ struct _inittab _PyImport_Inittab[] = { {"__main__", NULL}, {"__builtin__", NULL}, {"sys", NULL}, + {"exceptions", NULL}, /* Sentinel */ {0, 0}