why brackets & commas in func calls can't be ommited? (maybe it could be PEP?)

Laurent Pointal laurent.pointal at limsi.fr
Thu Mar 22 09:13:30 CET 2007


Dennis Lee Bieber a écrit :
> On Thu, 22 Mar 2007 03:27:37 +1100, Steven D'Aprano
> <steve at REMOVE.THIS.cybersource.com.au> declaimed the following in
> comp.lang.python:
> 
>> So what should "a b c d" be? 
>>
>> (a, b, c, d)
>> a(b, c, d)
>> a(b, (c, d))
>> a(b(c, d))
>> a(b(c(d)))
>>
>> Have I missed anything? Which is the "right" way? Who can tell?
>>
> 	a(b)(c)(d)
> or, explicit,
> 	((a(b))(c))(d)
> 
> <G>

(Yeah ((Lisp) (is back)))



More information about the Python-list mailing list