Files
codeql/python/ql/test/library-tests/parameters/Special.ql
2019-07-16 16:50:40 +01:00

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