Files
codeql/python/ql/test/3/library-tests/calls/NewApi.ql
Taus 82057e2e46 Python: Autoformat tests
I guess these were never considered back when we switched to
autoformatting everything.
2024-04-15 15:27:21 +00:00

9 lines
230 B
Plaintext

import python
from Call c, AstNode arg, int n, string what
where
what = "position" and arg = c.getPositionalArg(n)
or
what = "named" and arg = c.getNamedArg(n)
select c.getLocation().getStartLine(), what, n, arg.toString()