Mercurial > cpython-lru_cache-weakref
diff Modules/parsermodule.c @ 18748:e5bafddd1da0 legacy-trunk
Elaborate a comment.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 19 Jul 2001 20:17:15 +0000 |
| parents | 6d4a530fe7c1 |
| children | 5501958edc36 |
line wrap: on
line diff
--- a/Modules/parsermodule.c Thu Jul 19 20:08:04 2001 +0000 +++ b/Modules/parsermodule.c Thu Jul 19 20:17:15 2001 +0000 @@ -2855,7 +2855,10 @@ 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;
