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/002757.html below:

[Python-Dev] None as a keyword

[Python-Dev] None as a keyword / class methods [Python-Dev] None as a keyword / class methodsJack Jansen jack@oratrix.nl
Fri, 24 Mar 2000 16:01:25 +0100
> Hmm... i guess this also means one should ask what
> 
>     def function(None, arg):
>         ...
> 
> does outside a class definition.  I suppose that should simply
> be illegal.

No, it forces you to call the function with keyword arguments!
(initially meant jokingly, but thinking about it for a couple of seconds there 
might actually be cases where this is useful)
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 





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