Tony Cappellini wrote: >> I don't use classmethods so I can't discuss that. For staticmethods, >> suppose I have in foo.py > > Where is the word "staticmethod" in the example below? Where is it used? > This is what I was hoping to see.
It would be class Foo(object): @staticmethod def doSomethingRelatedToFoo(): # whatever Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor