Meaning of * in the function arguments list

Terry Reedy tjreedy at
Thu Oct 30 05:06:05 CET 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,
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