News for hackers. Stuff that matters.
Re:Redesigning Python's named tuples by joshuamorton on Friday September 01, 2017 @11:31AM (#15149287)
Sure, but if you want an immutable object with iter, reasonable equality operators baked in, and named access, you can either define iter, eq, neq, and le on a new style slotted object with a bunch of getter descriptors, or you can make a namedtuple.

There are no comments on this comment yet.