1
0
forked from VimPlug/jedi

Get references in the current module only

This commit is contained in:
muffinmad
2020-05-21 17:37:25 +03:00
parent 4ceca54138
commit 741097827d
5 changed files with 96 additions and 34 deletions

View File

@@ -63,7 +63,7 @@ def infer_anonymous_param(func):
def goto_anonymous_param(func):
def wrapper(param_name):
def wrapper(param_name, **kwargs):
is_pytest_param, param_name_is_function_name = \
_is_a_pytest_param_and_inherited(param_name)
if is_pytest_param:
@@ -74,7 +74,7 @@ def goto_anonymous_param(func):
)
if names:
return names
return func(param_name)
return func(param_name, **kwargs)
return wrapper