summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
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/idlelib
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/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 f56460a..a56c224 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 repr
- self.repr = repr.Repr()
+ import reprlib
+ self.repr = reprlib.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 a2a6cee..8ff0041 100644
--- a/Lib/idlelib/ObjectBrowser.py
+++ b/Lib/idlelib/ObjectBrowser.py
@@ -11,7 +11,7 @@
from TreeWidget import TreeItem, TreeNode, ScrolledCanvas
-from repr import Repr
+from reprlib import Repr
myrepr = Repr()
myrepr.maxstring = 100