summaryrefslogtreecommitdiff
path: root/modules/language/python/#test.py#
blob: 976e04f7cdccbe4accbec5622696da3ad85b1bf1 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
def f(x):
    def h(q):
        return q + y + z
    global y
    y=x
    z=1
    return y + x

def g():
    return y,y

x : x.a = 1
x : x.f(10)