I'd like to know why Python 2.6 doesn't have the syntax to create sets/ dicts of Python 3.0, like:
{x*x for x in xrange(10)}
{x:x*x for x in xrange(10)}
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
I'd like to know why Python 2.6 doesn't have the syntax to create sets/ dicts of Python 3.0, like:
{x*x for x in xrange(10)}
{x:x*x for x in xrange(10)}
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list