Unpacking args before passing them on
examples/advanced/unpacking_varargs.py
def f(*args, **kwargs): print('f: ', args) print('f: ', kwargs) g(*args, **kwargs) def g(*args, **kwargs): print('g: ', args) print('g: ', kwargs) f(1, 2, a=3, b=4)
f: (1, 2) f: {'a': 3, 'b': 4} g: (1, 2) g: {'a': 3, 'b': 4}