PEP 318 - Function Modifier Syntax

Greg Ewing (using g2h5dqi002 at
Wed Jun 11 05:28:47 CEST 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

More information about the Python-list mailing list