5 Mar
2014
5 Mar
'14
5:15 a.m.
On 05Mar2014 04:06, MRAB
On 2014-03-05 01:46, Cameron Simpson wrote:
a = $(foo + 1)
Definitely nicer. Still irrationally uncomfortable about the "$" though. A thought, though it could break existing code (and nested tuples, alas): a = (( foo + 1 ))
That's not a tuple. It's equivalent to: a = foo + 1
I know that. I should have said: though the below looks nice, in more complicated forms it fights with tuples, eg:
((1,2,3),(4,5,6))
(((1,2,3),(4,5,6)))
:-(
--
Cameron Simpson