Remove further clean_scope_docstring usages.
This commit is contained in:
1 parent
bea28fd33f
commit
c124fc91ca
3 files changed
+14
-13
No files matched your search
@@ -215,9 +215,8 @@ class ExecutedParam(object):
|
||||
self.string_name = param_node.name.value
|
||||
|
||||
def infer(self):
|
||||
root_context = self._execution_context.get_root_context()
|
||||
pep0484_hints = pep0484.infer_param(root_context, self._param_node)
|
||||
doc_params = docstrings.infer_param(root_context, self._param_node)
|
||||
pep0484_hints = pep0484.infer_param(self._execution_context, self._param_node)
|
||||
doc_params = docstrings.infer_param(self._execution_context, self._param_node)
|
||||
if pep0484_hints or doc_params:
|
||||
return list(set(pep0484_hints) | set(doc_params))
|
||||
|
||||
|
||||
Reference in new issue
Block a user