[Python-3000] sets in P3K?

Barry Warsaw barry at python.org
Wed Apr 26 18:59:29 CEST 2006


On Wed, 2006-04-26 at 12:07 -0400, Jim Jewett wrote:

> Alternatively, define a classmethod for the literal form.  For me,
> even the much longer
> 
>     s = set.literal(1, 2, 3)

Or how about just set.new(1, 2, 3) ?

not-sure-it's-worth-it-ly y'rs,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-3000/attachments/20060426/48728ea0/attachment.pgp 


More information about the Python-3000 mailing list