mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-26 00:37:14 +08:00
Merge pull request #758 from blueyed/doc-goto_assignments
doc: fix goto_assignments, which can follow imports now
This commit is contained in:
@@ -198,8 +198,8 @@ class Script(object):
|
|||||||
|
|
||||||
def goto_assignments(self, follow_imports=False):
|
def goto_assignments(self, follow_imports=False):
|
||||||
"""
|
"""
|
||||||
Return the first definition found. Imports and statements aren't
|
Return the first definition found, while optionally following imports.
|
||||||
followed. Multiple objects may be returned, because Python itself is a
|
Multiple objects may be returned, because Python itself is a
|
||||||
dynamic language, which means depending on an option you can have two
|
dynamic language, which means depending on an option you can have two
|
||||||
different versions of a function.
|
different versions of a function.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user