[Python-ideas] Decorator syntax restriction

Gerald Britton gerald.britton at gmail.com
Fri Oct 2 18:18:20 CEST 2009


Quite right.  Though I still miss pre- and post-fix operators.

On Fri, Oct 2, 2009 at 12:14 PM, Paul Moore <p.f.moore at gmail.com> wrote:
> 2009/10/2 Gerald Britton <gerald.britton at gmail.com>:
>> fwiw C's ternary operator is implemented in Python like this:
>>
>> x = a if b else c
>
> I know. My email was wordy enough already, but that was my point -
> Python prefers keywords to punctuation, on the same "no line noise"
> principle.
>
> Paul
>



-- 
Gerald Britton



More information about the Python-ideas mailing list