Anycorn Anycorn - 1 year ago 100
Python Question

proper name for python * operator?

What is the correct name for operator

*
, as in
function(*args)
? unpack, unzip, something else?

Answer Source

In Ruby and Perl 6 this has been called "splat", and I think most people from those communities will figure out what you mean if you call it that.

The Python tutorial uses the phrase "unpacking argument lists", which is long and descriptive. I haven't heard any other particular name for it in Python.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download