1
0
forked from VimPlug/jedi

Infer doctests and signatures uniformly, fixes #1466

This commit is contained in:
Dave Halter
2020-01-03 00:45:14 +01:00
parent 2d31e2e760
commit 3b6bbab556
10 changed files with 89 additions and 20 deletions

View File

@@ -350,7 +350,7 @@ class Script(object):
:rtype: list of :class:`classes.Definition`
"""
definitions = self.goto(line, column)
definitions = self.goto(line, column, follow_imports=True)
if definitions:
return definitions
leaf = self._module_node.get_leaf_for_position((line, column))