blob: 4f7e3b8cc5bcef731433a07a37779468cdeec354 (
plain)
1
2
3
4
5
6
7
8
9
|
# pylint: disable=missing-docstring
exec('a = 42') # [exec-used]
exec('a = 1', globals={}) # [exec-used]
exec('a = 1', globals=globals()) # [exec-used]
def func():
exec('b = 1') # [exec-used]
|