Issue 2226: Callable checked for the wrong abstract method.
This commit is contained in:
parent
972fb077a0
commit
10ac19bedc
|
@ -107,7 +107,7 @@ class Callable:
|
|||
__metaclass__ = ABCMeta
|
||||
|
||||
@abstractmethod
|
||||
def __contains__(self, x):
|
||||
def __call__(self, *args, **kwds):
|
||||
return False
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue