proper name for python * operator?
Solution 1:
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.
Solution 2:
I call it "positional expansion", as opposed to **
which I call "keyword expansion".
Solution 3:
The Python Tutorial simply calls it 'the *
-operator'. It performs unpacking of arbitrary argument lists.
Solution 4:
I say "star-args" and Python people seem to know what i mean.
**
is trickier - I think just "qargs" since it is usually used as **kw
or **kwargs