summaryrefslogtreecommitdiffstats
path: root/Lib/copy.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 08:25:28 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 08:25:28 (GMT)
commit9510e4a9f8503421c9f589e99e697aa5f3b89b69 (patch)
tree59e7f4f21d2c0902316f91b00d98e0e8d4b6c4aa /Lib/copy.py
parentf602c71b077de965693c62d65d0e261bd964fbda (diff)
downloadcpython-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 'Lib/copy.py')
-rw-r--r--Lib/copy.py2
1 files changed, 1 insertions, 1 deletions
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 @@ __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