diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-19 20:17:15 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-19 20:17:15 (GMT) |
commit | 78bdb9bc46220449fae85fa643e1ccc33c2462e5 (patch) | |
tree | dd44f1060b62fda76b205b4528c2658c26a3e07d /Modules/parsermodule.c | |
parent | 08f8dd6d0caead7891d1a70f956409a88d0ed5a6 (diff) | |
download | cpython-78bdb9bc46220449fae85fa643e1ccc33c2462e5.zip cpython-78bdb9bc46220449fae85fa643e1ccc33c2462e5.tar.gz cpython-78bdb9bc46220449fae85fa643e1ccc33c2462e5.tar.bz2 |
Elaborate a comment.
Diffstat (limited to 'Modules/parsermodule.c')
-rw-r--r-- | Modules/parsermodule.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index cc1a44f..2f2d8b0 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -2855,7 +2855,10 @@ initparser(void) PyDict_SetItemString(dict, "__version__", PyString_FromString(parser_version_string)); - /* register to support pickling */ + /* Register to support pickling. + * If this fails, the import of this module will fail because an + * exception will be raised here; should we clear the exception? + */ module = PyImport_ImportModule("copy_reg"); if (module != NULL) { PyObject *func, *pickler; |