Tuple assignment
Juanjo Alvarez
fake at fakeemail.com
Thu Oct 7 17:58:32 PDT 2010
On Thu, 07 Oct 2010 15:14:12 -0400, bearophile
<bearophileHUGS at lycos.com> wrote:
> This is false both in Python2 and Python3.
What is exactly false on what I said?
> a, *bc = ('tuple', 'of', 'three')
Yes, that's the syntax for assignment of the remainder, I was
speaking about *ignoring* the remainder without having it assigned to
the last element which was one of the proposed effects in the message
before mine's.
More information about the Digitalmars-d
mailing list