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