proper name for python * operator?

后端 未结 8 2003
不知归路
不知归路 2020-11-22 07:20

What is the correct name for operator *, as in function(*args)? unpack, unzip, something else?

8条回答
  •  礼貌的吻别
    2020-11-22 07:54

    The Python Tutorial simply calls it 'the *-operator'. It performs unpacking of arbitrary argument lists.

提交回复
热议问题