Patch #1672481: fix bug in idlelib.MultiCall.

(backport from rev. 54156)
This commit is contained in:
Georg Brandl 2007-03-06 11:52:33 +00:00
parent 0520e03d0f
commit 8da6f1b668
1 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,8 @@ def MultiCallCreator(widget):
triplets.append(triplet) triplets.append(triplet)
def event_delete(self, virtual, *sequences): def event_delete(self, virtual, *sequences):
if virtual not in self.__eventinfo:
return
func, triplets = self.__eventinfo[virtual] func, triplets = self.__eventinfo[virtual]
for seq in sequences: for seq in sequences:
triplet = _parse_sequence(seq) triplet = _parse_sequence(seq)