Move docstring param recognizing
This commit is contained in:
1 parent
88cf198552
commit
bb3eb23864
2 files changed
+6
-6
No files matched your search
@@ -5,7 +5,6 @@ from jedi.inference.utils import PushBackIterator
|
||||
from jedi.inference import analysis
|
||||
from jedi.inference.lazy_value import LazyKnownValue, \
|
||||
LazyTreeValue, LazyUnknownValue
|
||||
from jedi.inference import docstrings
|
||||
from jedi.inference.value import iterable
|
||||
|
||||
|
||||
@@ -31,11 +30,6 @@ class ExecutedParam(object):
|
||||
return infer_param(self._execution_context, self._param_node)
|
||||
|
||||
def infer(self, use_hints=True):
|
||||
if use_hints:
|
||||
doc_params = docstrings.infer_param(self._execution_context, self._param_node)
|
||||
if doc_params:
|
||||
return doc_params
|
||||
|
||||
return self._lazy_value.infer()
|
||||
|
||||
def matches_signature(self):
|
||||
|
||||
Reference in new issue
Block a user