A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-March/002717.html below:

[Python-Dev] None as a keyword

[Python-Dev] None as a keyword / class methods [Python-Dev] None as a keyword / class methodsgvwilson@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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4