summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-06 11:52:24 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-06 11:52:24 (GMT)
commitd53d951c240fc070f368c335792a9923e1426c8a (patch)
treef02d0eeaa9344aec23155a060e02c5104583fa0b
parent3071a1aec949d33fdea2150784860e14a17f674f (diff)
downloadcpython-d53d951c240fc070f368c335792a9923e1426c8a.zip
cpython-d53d951c240fc070f368c335792a9923e1426c8a.tar.gz
cpython-d53d951c240fc070f368c335792a9923e1426c8a.tar.bz2
Patch #1672481: fix bug in idlelib.MultiCall.
-rw-r--r--Lib/idlelib/MultiCall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/MultiCall.py b/Lib/idlelib/MultiCall.py
index ea8b140..547df13 100644
--- a/Lib/idlelib/MultiCall.py
+++ b/Lib/idlelib/MultiCall.py
@@ -349,6 +349,8 @@ def MultiCallCreator(widget):
triplets.append(triplet)
def event_delete(self, virtual, *sequences):
+ if virtual not in self.__eventinfo:
+ return
func, triplets = self.__eventinfo[virtual]
for seq in sequences:
triplet = _parse_sequence(seq)