mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-22 21:47:05 +08:00
add a new static_analysis file to test star arguments separately
This commit is contained in:
1 parent
11e867d2c1
commit
a695166585
3 files changed
+12
-6
No files matched your search
@@ -49,6 +49,8 @@ def _get_calling_var_args(evaluator, var_args):
|
||||
param = names[0].parent
|
||||
if not isinstance(param, ExecutedParam):
|
||||
break
|
||||
# We never want var_args to be a tuple. This should be enough for
|
||||
# now, we can change it later, if we need to.
|
||||
if isinstance(param.var_args, pr.Array):
|
||||
var_args = param.var_args
|
||||
return var_args
|
||||
|
||||
Reference in new issue
Block a user