I am trying to understand how the parameters to this function
are interpreted:
def f(a, *, b):
return a, b
It appears this function
forces the caller to call f()
with exactly 2 params and the second param should always be a named b=
param. How do I decipher this from the function
signature? Why does it not allow me to specify a middle argument for the *
?