[Python-ideas] universal set object for use in set manipulation

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jul 24 00:13:03 CEST 2009


Andy Kish wrote:

> It's really annoying to having appropriate identity element for
> union built in while missing the *correct* identity element for
> intersection.

What would

    for x in set.universal():
      ...

do?

-- 
Greg



More information about the Python-ideas mailing list