Meaning of * in the function arguments list

Terry Reedy tjreedy at udel.edu
Thu Oct 30 00:06:05 EDT 2014


On 10/29/2014 4:56 AM, ast wrote:

> Consider the following to_bytes method from integer class:
> int.to_bytes(length, byteorder, *, signed=False)
> What doest the '*' in the arguments list means ?

If you go to the online doc index page for Symbols,
https://docs.python.org/3/genindex-Symbols.html
there a 3 entries for the use of * as an operator, in statements (in 
particular, def for functions), and in function calls.

-- 
Terry Jan Reedy




More information about the Python-list mailing list