Rename the repr module to reprlib.

Merged revisions 63357 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63357 | alexandre.vassalotti | 2008-05-16 02:58:49 -0400 (Fri, 16 May 2008) | 2 lines

  Changed references to the reprlib module to use its new name.
........
This commit is contained in:
Alexandre Vassalotti 2008-05-16 07:12:44 +00:00
parent cdc11337a2
commit 1f2ba4b6da
13 changed files with 35 additions and 31 deletions

View file

@ -354,17 +354,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()