Make sure that Callables are properly represented
See also comment of https://github.com/davidhalter/jedi/pull/1614#issuecomment-647054740
This commit is contained in:
1 parent
3488f6b61d
commit
a3410f124a
3 files changed
+7
-3
No files matched your search
@@ -415,6 +415,9 @@ class BaseTypingInstance(LazyValueWrapper):
|
||||
def get_annotated_class_object(self):
|
||||
return self._class_value
|
||||
|
||||
def get_qualified_names(self):
|
||||
return (self.py__name__(),)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return ValueName(self, self._tree_name)
|
||||
|
||||
Reference in new issue
Block a user