summaryrefslogtreecommitdiffstats
path: root/Lib/copy.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-23 05:03:59 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-23 05:03:59 (GMT)
commit2ee0e8eaec7f6e87664c2c9297633623cbd28868 (patch)
treecf9b7d1f858bcaf09e4b10769cfe2359283a3ab9 /Lib/copy.py
parent778d5cc4fb938a37383373ff27457831bc6aea63 (diff)
downloadcpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.zip
cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.gz
cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.bz2
Revert the renaming of repr to reprlib.
Diffstat (limited to 'Lib/copy.py')
-rw-r--r--Lib/copy.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/Lib/copy.py b/Lib/copy.py
index f3871e5..3f2033f 100644
--- a/Lib/copy.py
+++ b/Lib/copy.py
@@ -399,16 +399,17 @@ def _test():
print l2
l.append({l[1]: l, 'xyz': l[2]})
l3 = copy(l)
- import reprlib
- print map(reprlib.repr, l)
- print map(reprlib.repr, l1)
- print map(reprlib.repr, l2)
- print map(reprlib.repr, l3)
+ import repr
+ print map(repr.repr, l)
+ print map(repr.repr, l1)
+ print map(repr.repr, l2)
+ print map(repr.repr, l3)
l3 = deepcopy(l)
- print map(reprlib.repr, l)
- print map(reprlib.repr, l1)
- print map(reprlib.repr, l2)
- print map(reprlib.repr, l3)
+ import repr
+ print map(repr.repr, l)
+ print map(repr.repr, l1)
+ print map(repr.repr, l2)
+ print map(repr.repr, l3)
if __name__ == '__main__':
_test()