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

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jul 26 19:46:45 EDT 2017


Nick Coghlan wrote:
> The same applies to the ntuple concept, expect there it's the fact
> that it's a *tuple* that conveys the "order matters" expectation.

That assumes there's a requirement that it be a tuple in
the first place. I don't see that requirement in the use
cases suggested here so far.

-- 
Greg


More information about the Python-ideas mailing list