[Python-checkins] r54157 - python/branches/release25-maint/Lib/idlelib/MultiCall.py

georg.brandl python-checkins at python.org
Tue Mar 6 12:52:34 CET 2007


Author: georg.brandl
Date: Tue Mar 6 12:52:33 2007
New Revision: 54157
Modified:
 python/branches/release25-maint/Lib/idlelib/MultiCall.py
Log:
Patch #1672481: fix bug in idlelib.MultiCall.
 (backport from rev. 54156)
Modified: python/branches/release25-maint/Lib/idlelib/MultiCall.py
==============================================================================
--- python/branches/release25-maint/Lib/idlelib/MultiCall.py	(original)
+++ python/branches/release25-maint/Lib/idlelib/MultiCall.py	Tue Mar 6 12:52:33 2007
@@ -349,6 +349,8 @@
 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)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /