mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
cdc11337a2
commit
1f2ba4b6da
13 changed files with 35 additions and 31 deletions
|
@ -412,8 +412,8 @@ class NamespaceViewer:
|
|||
height = 20*len(dict) # XXX 20 == observed height of Entry widget
|
||||
self.master = master
|
||||
self.title = title
|
||||
import repr
|
||||
self.repr = repr.Repr()
|
||||
import reprlib
|
||||
self.repr = reprlib.Repr()
|
||||
self.repr.maxstring = 60
|
||||
self.repr.maxother = 60
|
||||
self.frame = frame = Frame(master)
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
from idlelib.TreeWidget import TreeItem, TreeNode, ScrolledCanvas
|
||||
|
||||
from repr import Repr
|
||||
from reprlib import Repr
|
||||
|
||||
myrepr = Repr()
|
||||
myrepr.maxstring = 100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue