Does Python have Class methods

Aahz Maruch aahz at
Tue May 8 11:43:17 EDT 2001

In article <3af80f95.73151117 at News.CIS.DFN.DE>,  <costas at> wrote:
>Does Python support the concept of class methods (as opposed to
>instance methods)? If not is there a suggested way of doing this?

The standard answer is to put the class (e.g. "foo") into its own module
(e.g. "") and use module-level functions.
                      --- Aahz  <*>  (Copyright 2001 by aahz at

Androgynous poly kinky vanilla queer het Pythonista
Hugs and backrubs -- I break Rule 6

"Don't be so humble -- you are not that great."  --Golda Meir

More information about the Python-list mailing list