TypeError: unbound method DefaultTracer() must be called with MyClass instance as first argument (got str instance instead)

Kannan Varadhan kvaradhan3 at gmail.com
Mon Jul 11 04:13:33 CEST 2011

Thanks folks,

Tried all of these, and went with staticmethod().  Was cleanest

> After skimming over Steven's post: use staticmethod.
> No idea why I didn't think of that myself.


More information about the Python-list mailing list