函数定义和函数调用中的starred-argument

函数定义和函数调用中的starred-argument

Content #

Don’t confuse the “/*” starred-argument syntax in the function header and the function call:

in the header it collects any number of arguments, while in the call it unpacks any number of arguments.

In both, one star means positionals and two applies to keywords.

From #