1
0
forked from VimPlug/jedi

Do not show signatures for properties, fixes #1695

This commit is contained in:
Dave Halter
2021-01-01 23:51:41 +01:00
parent 1ccc63e83d
commit 7d160f96f6
5 changed files with 43 additions and 4 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ class TreeNameDefinition(AbstractTreeName):
@inference_state_method_cache(default='')
def py__doc__(self):
api_type = self.api_type
if api_type in ('function', 'class'):
if api_type in ('function', 'class', 'property'):
# Make sure the names are not TreeNameDefinitions anymore.
return clean_scope_docstring(self.tree_name.get_definition())