]> granicus.if.org Git - python/commitdiff
Patch #1672481: fix bug in idlelib.MultiCall.
authorGeorg Brandl <georg@python.org>
Tue, 6 Mar 2007 11:52:24 +0000 (11:52 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 6 Mar 2007 11:52:24 +0000 (11:52 +0000)
Lib/idlelib/MultiCall.py

index ea8b140e165a7629e253abb8a7b3b4a2d2b75a50..547df13ee30c996a0e9ecf602352debe3180d58d 100644 (file)
@@ -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)