Tuple assignment

Juanjo Alvarez fake at fakeemail.com
Fri Oct 8 19:02:43 PDT 2010


On Fri, 08 Oct 2010 16:11:53 -0400, bearophile 
<bearophileHUGS at lycos.com> wrote:
> This syntax you have explained doesn't do what you think it does:
> a, b, c, _ = ('tuple', 'of', 'three')

That was a typo, I meant to write:

a, b, _ = ('tuple', 'of', 'three')


More information about the Digitalmars-d mailing list