]> granicus.if.org Git - python/commitdiff
Elaborate a comment.
authorFred Drake <fdrake@acm.org>
Thu, 19 Jul 2001 20:17:15 +0000 (20:17 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 19 Jul 2001 20:17:15 +0000 (20:17 +0000)
Modules/parsermodule.c

index cc1a44f59a7f90fc65a14e4e909d25ea05e1fc7e..2f2d8b02b2d4c2124c6bda944044599ee91571b3 100644 (file)
@@ -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;