[Python-Dev] None as a keyword / class methods
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 23 Mar 2000 13:11:39 -0500 (EST)
gvwilson@nevex.com writes:
> p.classMethod("hey, cool!") # also selfless
This is the example that I haven't seen before (I'm not on the
types-sig, so it may have been presented there), and I think this is
what makes it interesting; a method in a module isn't quite sufficient
here, since a subclass can override or extend the penguin this way.
(Er, if we *do* go with penguin, does this mean it only works on
Linux? ;)
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives