proper name for python * operator?

Anycorn picture Anycorn · Feb 23, 2010 · Viewed 113.8k times · Source

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

Answer

ephemient picture ephemient · Feb 23, 2010

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.

It is also referred to as iterable unpacking, or in the case of **, dictionary unpacking.