PEP 318 - Function Modifier Syntax

Greg Ewing (using news.cis.dfn.de) g2h5dqi002 at sneakemail.com
Tue Jun 10 23:28:47 EDT 2003


Jonathan Claggett wrote:
> How about overloading the keyword "is" instead of "as"?
>
>     def func(x) is staticmethod:

Again, mangled English. You've got a noun torn between
two verbs, which is a cruel thing to do to it.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list