From d53d951c240fc070f368c335792a9923e1426c8a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 6 Mar 2007 11:52:24 +0000 Subject: [PATCH] Patch #1672481: fix bug in idlelib.MultiCall. --- Lib/idlelib/MultiCall.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/idlelib/MultiCall.py b/Lib/idlelib/MultiCall.py index ea8b140e165..547df13ee30 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)