mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-02 01:26:52 +08:00
Fix a caching issue
This commit is contained in:
@@ -12,6 +12,7 @@ The signature here for bar should be `bar(b, c)` instead of bar(*args).
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from jedi._compatibility import Parameter
|
from jedi._compatibility import Parameter
|
||||||
|
from jedi.evaluate.utils import to_list
|
||||||
from jedi.evaluate.names import ParamNameWrapper
|
from jedi.evaluate.names import ParamNameWrapper
|
||||||
|
|
||||||
|
|
||||||
@@ -92,6 +93,7 @@ def _remove_given_params(arguments, param_names):
|
|||||||
yield p
|
yield p
|
||||||
|
|
||||||
|
|
||||||
|
@to_list
|
||||||
def process_params(param_names, star_count=3): # default means both * and **
|
def process_params(param_names, star_count=3): # default means both * and **
|
||||||
used_names = set()
|
used_names = set()
|
||||||
arg_callables = []
|
arg_callables = []
|
||||||
|
|||||||
Reference in New Issue
Block a user