diff --git a/jedi/evaluate.py b/jedi/evaluate.py index 4a68a64d..a5ef4918 100644 --- a/jedi/evaluate.py +++ b/jedi/evaluate.py @@ -153,6 +153,8 @@ def get_names_of_scope(scope, position=None, star_search=True, >>> pairs[2] #doctest: +ELLIPSIS (, [, ...]) + :rtype: [(pr.Scope, [pr.Name])] + :return: Return an generator that yields a pair of scope and names. """ in_func_scope = scope non_flow = scope.get_parent_until(pr.Flow, reverse=True)