summaryrefslogtreecommitdiffstats
path: root/Lib/copy.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-16 06:58:49 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-16 06:58:49 (GMT)
commit50a1acb2abafbe7b99ad57ca566c1ff9bb8abf0f (patch)
treefc9ad776ef967b99c3c40b43ec7a90e960378fed /Lib/copy.py
parent95d97c7390beb72083dac5a801cadfb4c1379fe5 (diff)
downloadcpython-50a1acb2abafbe7b99ad57ca566c1ff9bb8abf0f.zip
cpython-50a1acb2abafbe7b99ad57ca566c1ff9bb8abf0f.tar.gz
cpython-50a1acb2abafbe7b99ad57ca566c1ff9bb8abf0f.tar.bz2
Changed references to the reprlib module to use its new name.
Diffstat (limited to 'Lib/copy.py')
-rw-r--r--Lib/copy.py19
1 files changed, 9 insertions, 10 deletions
diff --git a/Lib/copy.py b/Lib/copy.py
index 55ea660..26ab366 100644
--- a/Lib/copy.py
+++ b/Lib/copy.py
@@ -399,17 +399,16 @@ def _test():
print l2
l.append({l[1]: l, 'xyz': l[2]})
l3 = copy(l)
- import repr
- print map(repr.repr, l)
- print map(repr.repr, l1)
- print map(repr.repr, l2)
- print map(repr.repr, l3)
+ import reprlib
+ print map(reprlib.repr, l)
+ print map(reprlib.repr, l1)
+ print map(reprlib.repr, l2)
+ print map(reprlib.repr, l3)
l3 = deepcopy(l)
- import repr
- print map(repr.repr, l)
- print map(repr.repr, l1)
- print map(repr.repr, l2)
- print map(repr.repr, l3)
+ print map(reprlib.repr, l)
+ print map(reprlib.repr, l1)
+ print map(reprlib.repr, l2)
+ print map(reprlib.repr, l3)
if __name__ == '__main__':
_test()