mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests/basics: Add test for builtin locals().
This commit is contained in:
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'])
|
||||
Reference in New Issue
Block a user