Mercurial > cpython-lru_cache-weakref
diff Modules/parsermodule.c @ 46865:b40827eb4b80 legacy-trunk
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:25:28 +0000 |
| parents | 393822f2ef90 |
| children | f419b2e96a98 |
line wrap: on
line diff
--- a/Modules/parsermodule.c Sun May 11 07:10:25 2008 +0000 +++ b/Modules/parsermodule.c Sun May 11 08:25:28 2008 +0000 @@ -3284,7 +3284,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;
