We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d291007 commit b470f59Copy full SHA for b470f59
1 file changed
tests/basics/builtin_locals.py
@@ -0,0 +1,4 @@
1
+# test builtin locals()
2
+
3
+x = 123
4
+print(locals()['x'])
0 commit comments