[Python-Dev] Python 3000 PEP: Postfix type declarations
Ron Adam
rrr at ronadam.com
Sun Apr 1 15:27:00 CEST 2007
Johann C. Rocholl wrote:
> Brilliant!
>
> On 4/1/07, Georg Brandl <g.brandl at gmx.net> wrote:
>> def foo${LATIN SMALL LETTER LAMBDA WITH STROKE}$(x${DOUBLE-STRUCK CAPITAL C}$):
>> return None${ZERO WIDTH NO-BREAK SPACE}$
>>
>> This is still easy to read and makes the full power of type-annotated Python
>> available to ASCII believers.
>
> +1
>
> J
This also has the advantage that any good editor with auto correct and
completion can convert from one form to the other as you type. A feature I
love in my word processor because it *always* does *exactly* what I want
and saves me much typing.
+1ℕ
;-)
More information about the Python-Dev
mailing list