summaryrefslogtreecommitdiff
path: root/python/kwargs1.py
blob: 0917965508af1fe82a28963072ebf46b3dca12fe (plain)
1
2
3
4
5
6
7
8
9
10
def a(x, y=None, z=3):
    print(x)
    print(y)
    print(z)

def b(*args, **kwargs):
    return a(*args, **kwargs)

b(2, y=-1, z=1)