[Python-ideas] Making colons optional?

Lie Ryan lie.1296 at gmail.com
Tue Feb 10 08:08:48 CET 2009


On Thu, 05 Feb 2009 14:59:59 -0330, Riobard Zhan wrote:

>>> The second example makes it even more obvious:
>>>
>>>    if (some() and some_other() or some_more(complex=(True,))
>>>        and a_final_call(egg=(1,2,3))):
>>
>> Do(some(), some_other(), some_more(complex=(True,)),
>>         and_final_call(egg=(1,2,3,zzzzz=False)));    # endof
>> statement is obvious
> 
> 
> This is exactly the point in my mind! :)

What is that piece of code supposed to mean? Is it supposed to mean the 
same as the easy to understand if-clause above it? Among the parentheses 
clouds, I can't see the end-of-line easily...




More information about the Python-ideas mailing list