tests/basics: Add test for builtin locals().
This commit is contained in:
parent
d291007fea
commit
b470f59892
4
tests/basics/builtin_locals.py
Normal file
4
tests/basics/builtin_locals.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# test builtin locals()
|
||||||
|
|
||||||
|
x = 123
|
||||||
|
print(locals()['x'])
|
Loading…
Reference in New Issue
Block a user