1
0
forked from VimPlug/jedi

Merge pull request #758 from blueyed/doc-goto_assignments

doc: fix goto_assignments, which can follow imports now
This commit is contained in:
Dave Halter
2016-08-13 23:07:49 +02:00
committed by GitHub

View File

@@ -198,8 +198,8 @@ class Script(object):
def goto_assignments(self, follow_imports=False):
"""
Return the first definition found. Imports and statements aren't
followed. Multiple objects may be returned, because Python itself is a
Return the first definition found, while optionally following imports.
Multiple objects may be returned, because Python itself is a
dynamic language, which means depending on an option you can have two
different versions of a function.