Infer doctests and signatures uniformly, fixes #1466
This commit is contained in:
1 parent
2d31e2e760
commit
3b6bbab556
10 files changed
+89
-20
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user