Pass a real dictionary



examples/functions/pass_dict.py
def func(**kw):
    print(kw)

func(a = 23,
    b = 19,)

z = {
    'c': 10,
    'd': 20,
}

func(z = z)

func(**z)

{'a': 23, 'b': 19}
{'z': {'c': 10, 'd': 20}}
{'c': 10, 'd': 20}