1
0
forked from VimPlug/jedi

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
2019-11-29 14:57:32 +01:00
parent 6e5e706288
commit c38e4fce70
5 changed files with 17 additions and 21 deletions

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])