From 8da6f1b66811f6cf680dd0bd5762ff051e42d034 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 6 Mar 2007 11:52:33 +0000 Subject: Patch #1672481: fix bug in idlelib.MultiCall. (backport from rev. 54156) --- Lib/idlelib/MultiCall.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v0.12