PEP 318: Can't we all just get along?

Roy Smith roy at
Fri Aug 20 03:54:07 CEST 2004

In article <mailman.1991.1092960665.5135.python-list at>,
 "Delaney, Timothy C (Timothy)" <tdelaney at> wrote:

> Neil Zanella wrote:
> > Well, allow me to contribute my thoughts on staticmethod and
> > classmethod: 
> > I am barely starting out with Python and my class objects are already
> > loaded with so many
> > 
> > foo = staticmethod(foo)
> These two facts could be somewhat related ... ;)
> Tim Delaney

I never quite understood the point of static methods inside classes.  
When would you ever need to do that, as opposed to just a function in a 
module?  In Java's "everything is part of a class" philosophy, it makes 
sense, but in Python?

More information about the Python-list mailing list