summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
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/idlelib
parent778d5cc4fb938a37383373ff27457831bc6aea63 (diff)
downloadcpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.zip
cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.gz
cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.bz2
Revert the renaming of repr to reprlib.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/Debugger.py4
-rw-r--r--Lib/idlelib/ObjectBrowser.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/Debugger.py b/Lib/idlelib/Debugger.py
index a56c224..f56460a 100644
--- a/Lib/idlelib/Debugger.py
+++ b/Lib/idlelib/Debugger.py
@@ -413,8 +413,8 @@ class NamespaceViewer:
height = 20*len(dict) # XXX 20 == observed height of Entry widget
self.master = master
self.title = title
- import reprlib
- self.repr = reprlib.Repr()
+ import repr
+ self.repr = repr.Repr()
self.repr.maxstring = 60
self.repr.maxother = 60
self.frame = frame = Frame(master)
diff --git a/Lib/idlelib/ObjectBrowser.py b/Lib/idlelib/ObjectBrowser.py
index 8ff0041..a2a6cee 100644
--- a/Lib/idlelib/ObjectBrowser.py
+++ b/Lib/idlelib/ObjectBrowser.py
@@ -11,7 +11,7 @@
from TreeWidget import TreeItem, TreeNode, ScrolledCanvas
-from reprlib import Repr
+from repr import Repr
myrepr = Repr()
myrepr.maxstring = 100