builtin set literal
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Wed Feb 21 14:09:12 EST 2007
Steven Bethard:
> take a look at the current state of tuples:
> 1, 2
> 1,
> ()
That's not a good situation. I presume the situation/syntax of tuples
in Python 2.x can't be improved. But can it be improved for Py 3.0?
Notes:
- I think in Matlab a single element is seen as the same thing as an
array with len = 1.
- I think Ruby solves the problem of the list/tuple with a freezing
function/operator (like I suggested some time ago).
Bye,
bearophile
More information about the Python-list
mailing list