Files
codeql/python/ql/test/library-tests/frameworks/stdlib-py3/CodeExecution.py
Owen Mansel-Chan 5a97348e78 python: Inline expectation should have space after $
This was a regex-find-replace from `# \$(?! )` (using a negative lookahead) to `# $ `.
2026-03-04 12:45:05 +00:00

5 lines
116 B
Python

import builtins
# exec being part of builtins is Python 3 only
builtins.exec("print(42)") # $ getCode="print(42)"