Files
codeql/python/ql/test/library-tests/parameters/Special.ql
2020-03-30 11:59:10 +02:00

11 lines
229 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