Commit 602dc59a authored by Fred Drake's avatar Fred Drake

Elaborate a comment.

parent a2f1abb4
...@@ -2855,7 +2855,10 @@ initparser(void) ...@@ -2855,7 +2855,10 @@ initparser(void)
PyDict_SetItemString(dict, "__version__", PyDict_SetItemString(dict, "__version__",
PyString_FromString(parser_version_string)); 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"); module = PyImport_ImportModule("copy_reg");
if (module != NULL) { if (module != NULL) {
PyObject *func, *pickler; PyObject *func, *pickler;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment