diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 08:55:36 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 08:55:36 +0000 |
commit | 8ae725082c8d016312dbe6afab8b63f2546561b3 (patch) | |
tree | 86a41d297ae47430cf51e7d7731b828f3f03a19e /Lib/copy.py | |
parent | db39b0d8f66a8cff14c32c09a62535e131b361ae (diff) | |
download | cpython-8ae725082c8d016312dbe6afab8b63f2546561b3.tar.gz |
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.
........
Diffstat (limited to 'Lib/copy.py')
-rw-r--r-- | Lib/copy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/copy.py b/Lib/copy.py index ec108b7133..899ee4d0ad 100644 --- a/Lib/copy.py +++ b/Lib/copy.py @@ -49,7 +49,7 @@ __getstate__() and __setstate__(). See the documentation for module """ import types -from copy_reg import dispatch_table +from copyreg import dispatch_table class Error(Exception): pass |