mirror of
https://github.com/github/codeql.git
synced 2026-01-20 09:54:45 +01:00
14 lines
212 B
Plaintext
14 lines
212 B
Plaintext
|
|
|
|
import python
|
|
|
|
from Parameter p, string type
|
|
where
|
|
p.isKwargs() and type = "kwargs"
|
|
or
|
|
p.isVarargs() and type = "varargs"
|
|
or
|
|
not p.isKwargs() and not p.isVarargs() and type = "normal"
|
|
|
|
select p.getName(), type
|