summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-06 11:52:33 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-06 11:52:33 (GMT)
commit8da6f1b66811f6cf680dd0bd5762ff051e42d034 (patch)
tree3bdd8aa03990369760a4bae862b6c2a56ecef700 /Lib
parent0520e03d0fae6a25de8057eb63a4ca779e18fd14 (diff)
downloadcpython-8da6f1b66811f6cf680dd0bd5762ff051e42d034.zip
cpython-8da6f1b66811f6cf680dd0bd5762ff051e42d034.tar.gz
cpython-8da6f1b66811f6cf680dd0bd5762ff051e42d034.tar.bz2
Patch #1672481: fix bug in idlelib.MultiCall.
(backport from rev. 54156)
Diffstat (limited to 'Lib')
-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)