[Python-ideas] namedtuple literals [Was: RE a new namedtuple]

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jul 31 01:40:04 EDT 2017


> On 7/30/2017 2:57 PM, Markus Meskanen wrote:
>
 >> How often do you get the keywords
>> in a random order?

The x, y, z example being used here is a bit deceptive,
because the fields have an obvious natural order. That
isn't always going to be the case.

-- 
Greg



More information about the Python-ideas mailing list