Make sure py__get__ is defined on all values

Also define matches_signature on all signatures, there's definitely cases where that might be called
This commit is contained in:
Dave Halter committed 2019-11-29 15:04:04 +01:00
1 parent 6e5e706288
commit c38e4fce70
5 files changed
+17 -21

No files matched your search

+1 -1
View File
@@ -335,7 +335,7 @@ def builtins_isinstance(objects, types, arguments, inference_state):
class StaticMethodObject(ValueWrapper):
def py__get__(self, instance, klass):
def py__get__(self, instance, class_value):
return ValueSet([self._wrapped_value])