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

@@ -239,6 +239,10 @@ class Value(HelperValueMixin, BaseValue):
"""
return NO_VALUES
def py__get__(self, instance, class_value):
debug.warning("No __get__ defined on %s", self)
return ValueSet([self])
def get_qualified_names(self):
# Returns Optional[Tuple[str, ...]]
return None