Revised PEP 318 - Function/Method Decorator Syntax

Evan Simpson evan at
Tue Jun 10 17:55:32 CEST 2003

Kevin Smith wrote:
> There are still some legitimate concerns about using 'as' for the delimiter

I wouldn't worry about this.  In English usage, 'as' is extremely 
versatile for such a small word.  My dictionary lists over a dozen 
distinct meanings for it, not even counting idiomatic combinations. 
Among these meanings are:

   "in the capacity, character, condition, or role of"

...which seems to me to cover both renamed imports and function annotations.


Evan @ 4-am

More information about the Python-list mailing list