Right, I mean "methods of a class".

On 6/9/06, Justin Shaw <[EMAIL PROTECTED]> wrote:
Minor semantic correction:  Methods should accept at least one argument,
self.  Whereas classmethods should accept at least one argument, klass.

Justin

andrew baker wrote:
> def printcolor():
>        print self.color
>
> Should be
>
> def printcolor(self):
>      print self.color
>
> Class methods should accept at least one argument, self.
>
> --
> Andrew Ulysses Baker
> "failrate"



--
Andrew Ulysses Baker
"failrate"

Reply via email to