Mercurial > cpython-lru_cache-weakref
diff Modules/parsermodule.c @ 46867:dd5513b472dc
Rename copy_reg module to copyreg.
Updated documentation.
Merged revisions 63042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63042 | alexandre.vassalotti | 2008-05-11 04:25:28 -0400 (Sun, 11 May 2008) | 5 lines
Added module stub for copy_reg renaming in 3.0.
Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.
........
| author | Alexandre Vassalotti <alexandre@peadrop.com> |
|---|---|
| date | Sun, 11 May 2008 08:55:36 +0000 |
| parents | ea594306ea85 |
| children | 94f64f11fdd0 |
line wrap: on
line diff
--- a/Modules/parsermodule.c Sun May 11 03:04:55 2008 +0000 +++ b/Modules/parsermodule.c Sun May 11 08:55:36 2008 +0000 @@ -3091,7 +3091,7 @@ * If this fails, the import of this module will fail because an * exception will be raised here; should we clear the exception? */ - copyreg = PyImport_ImportModuleNoBlock("copy_reg"); + copyreg = PyImport_ImportModuleNoBlock("copyreg"); if (copyreg != NULL) { PyObject *func, *pickler;
