diff options
| author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 08:25:28 (GMT) |
|---|---|---|
| committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 08:25:28 (GMT) |
| commit | 9510e4a9f8503421c9f589e99e697aa5f3b89b69 (patch) | |
| tree | 59e7f4f21d2c0902316f91b00d98e0e8d4b6c4aa /Modules/parsermodule.c | |
| parent | f602c71b077de965693c62d65d0e261bd964fbda (diff) | |
| download | cpython-9510e4a9f8503421c9f589e99e697aa5f3b89b69.zip cpython-9510e4a9f8503421c9f589e99e697aa5f3b89b69.tar.gz cpython-9510e4a9f8503421c9f589e99e697aa5f3b89b69.tar.bz2 | |
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.
Diffstat (limited to 'Modules/parsermodule.c')
| -rw-r--r-- | Modules/parsermodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 6e52343..02a1e48 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -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; |
