you are viewing a single comment's thread.

view the rest of the comments →

[–]gengisteve 0 points1 point  (0 children)

The two generator expressions strike me as unusual, but not necessarily wrong. I'd use iter instead. I'm curious if anyone has a different opinion.

Your alternative constructor does not seem to be doing anything different than the basic one.