summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-12-29 22:48:52 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-12-29 22:48:52 (GMT)
commit5e65ce671c3d3113035dd7783b79d395c9d71b3d (patch)
treee3f9fce1e5bcf7ea7673e16563bc07277a07ef07 /Lib/idlelib
parent4ada7ad3bc9ab269189ed20e57943d9721664deb (diff)
downloadcpython-5e65ce671c3d3113035dd7783b79d395c9d71b3d.zip
cpython-5e65ce671c3d3113035dd7783b79d395c9d71b3d.tar.gz
cpython-5e65ce671c3d3113035dd7783b79d395c9d71b3d.tar.bz2
Remove some old debugging print statements.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/EditorWindow.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index f039503..7c209e7 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -139,9 +139,7 @@ class EditorWindow:
if self.ispythonsource(filename):
self.color = color = self.ColorDelegator()
per.insertfilter(color)
- ##print "Initial colorizer"
else:
- ##print "No initial colorizer"
self.color = None
self.undo = undo = self.UndoDelegator()
@@ -459,7 +457,6 @@ class EditorWindow:
def addcolorizer(self):
if self.color:
return
- ##print "Add colorizer"
self.per.removefilter(self.undo)
self.color = self.ColorDelegator()
self.per.insertfilter(self.color)
@@ -468,7 +465,6 @@ class EditorWindow:
def rmcolorizer(self):
if not self.color:
return
- ##print "Remove colorizer"
self.per.removefilter(self.undo)
self.per.removefilter(self.color)
self.color = None
@@ -759,7 +755,6 @@ class EditorWindow:
text = self.text
text.keydefs = keydefs
for event, keylist in keydefs.items():
- ##print>>sys.__stderr__, "event, list: ", event, keylist
if keylist:
apply(text.event_add, (event,) + tuple(keylist))
@@ -772,7 +767,6 @@ class EditorWindow:
defs = self.Bindings.menudefs
if keydefs is None:
keydefs = self.Bindings.default_keydefs
- ##print>>sys.__stderr__, "*keydefs: " , keydefs
menudict = self.menudict
text = self.text
for mname, itemlist in defs:
@@ -788,7 +782,6 @@ class EditorWindow:
if checkbutton:
label = label[1:]
underline, label = prepstr(label)
- ##print>>sys.__stderr__, "*Event: " , event
accelerator = get_accelerator(keydefs, event)
def command(text=text, event=event):
text.event_generate(event)
@@ -798,9 +791,6 @@ class EditorWindow:
command=command, accelerator=accelerator,
variable=var)
else:
- ##print>>sys.__stderr__, "label, ul, cmd, accel: ",
- ## label, underline, command,
- ## accelerator
menu.add_command(label=label, underline=underline,
command=command,
accelerator=accelerator)