mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Elaborate a comment.
This commit is contained in:
parent
08f8dd6d0c
commit
78bdb9bc46
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue