commit | 9510e4a9f8503421c9f589e99e697aa5f3b89b69 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Sun May 11 08:25:28 2008 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Sun May 11 08:25:28 2008 +0000 |
tree | 59e7f4f21d2c0902316f91b00d98e0e8d4b6c4aa | |
parent | f602c71b077de965693c62d65d0e261bd964fbda [diff] [blame] |
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.
diff --git a/Lib/copy.py b/Lib/copy.py index 3f2033f..55ea660 100644 --- a/Lib/copy.py +++ b/Lib/copy.py
@@ -49,7 +49,7 @@ """ import types -from copy_reg import dispatch_table +from copyreg import dispatch_table class Error(Exception): pass