Comparison function as class method: how?
Peter Hansen
peter at engcorp.com
Thu May 8 13:13:44 EDT 2003
Jeff Stewart wrote:
>
> That helps a lot. But what is the D-S-U idiom?
>
> And how is someone supposed to know about staticmethod()? I couldn't find
> it anywhere in the Tutorial, Language Reference Index, or Library Reference
> Index. Is there a better place to go for documentation?
Decorate-Sort-Undecorate.
By the way, posting your problem code would go a long way to helping get
a simple answer. Any time you get a traceback, posting the code that
generated it and the traceback itself will generally get you a fix right
away.
-Peter
More information about the Python-list
mailing list