Schüle Daniel wrote:
> Hello,
> 
> lst = list((1,2,3))
> lst = [1,2,3]
> 
> t = tupel((1,2,3))
> t = (1,2,3)
> 
> s = set((1,2,3))
> s = ...
> 
> it would be nice feature to have builtin literal for set type
> maybe in P3 .. what about?
> s = <1,2,3>

In Python 3.0, this looks like::

     s = {1,2,3}

More info here:

     http://www.python.org/dev/peps/pep-3100/

STeVe
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to