From 811c4e0b7cb1a3b43cda8dab0b1587983b44c58d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 22 Aug 2006 15:45:46 +0000 Subject: Remove has_key() references from idlelib. IDLE still doesn't run due to relative import issues. Any volunteers? --- Lib/idlelib/MultiCall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/idlelib/MultiCall.py') diff --git a/Lib/idlelib/MultiCall.py b/Lib/idlelib/MultiCall.py index 1c6103ad64..40db92db73 100644 --- a/Lib/idlelib/MultiCall.py +++ b/Lib/idlelib/MultiCall.py @@ -187,7 +187,7 @@ class _ComplexBinder: seq, handler))) def bind(self, triplet, func): - if not self.bindedfuncs.has_key(triplet[2]): + if triplet[2] not in self.bindedfuncs: self.bindedfuncs[triplet[2]] = [[] for s in _states] for s in _states: lists = [ self.bindedfuncs[detail][i] -- cgit v1.2.1