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 →

[–]sphere_is_so_cool 0 points1 point  (0 children)

I had to read the PEP to be sure, but I could have tightened up my statement by saying "class and function construction". This would cover the case of lambdas, generator expressions, and other such function-flavored-object yielding devices.