mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Python: getStarArg gives first *args argument
I couldn't see any reason that we should give up altogether if there are multiple `*args` arguments. Including the first one looks like a win to me!
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* `getStarArg` member-predicate on `Call` and `CallNode` has been changed for calls that have multiple `*args` arguments (for example `func(42, *my_args, *other_args)`): Instead of producing no results, it will always have a result for the _first_ such `*args` argument.
|
||||
Reference in New Issue
Block a user