mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
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.
This commit is contained in:
parent
f602c71b07
commit
9510e4a9f8
15 changed files with 302 additions and 294 deletions
|
|
@ -3284,7 +3284,7 @@ initparser(void)
|
|||
* 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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue