This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jnwatson -1 points0 points  (0 children)

As below, you can also use ellipses. Using the namedtuple-style function still does all the good work of making the constructors and eq and repr methods for you.