mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
14 lines
159 B
Python
14 lines
159 B
Python
global_var = 'spam'
|
|
|
|
|
|
def enclosing(p1, p2):
|
|
x = 42
|
|
|
|
local(p1, x, 'foo')
|
|
|
|
|
|
def local(p1, x, p):
|
|
def nested():
|
|
print(p, x)
|
|
|
|
print(p1, p) |