[Python-Dev] None as a keyword / class methods

gvwilson@nevex.com gvwilson@nevex.com
Thu, 23 Mar 2000 14:01:06 -0500 (EST)


> class Ping:
>     # would this be a SyntaxError?
>     def __init__(None, arg):
> 	...

Absolutely a syntax error; ditto any of the other special names (e.g.
__add__).

Greg