summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/mp-tests/fun2.py
blob: a6cba92aadb7db2ae70dab3d84a33d0429a79f27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
def f(*, b):
    return b

def f(a, *, b):
    return a + b

def f(a, *, b, c):
    return a + b + c

def f(a, *, b=c):
    return a + b

def f(a, *, b=c, c):
    return a + b + c

def f(a, *, b=c, c=d):
    return a + b + c

def f(a, *, b=c, c, d=e):
    return a + b + c + d

def f(a=None, *, b=None):
    return a + b