TypeError: unbound method DefaultTracer() must be called with MyClass instance as first argument (got str instance instead)
Kannan Varadhan
kvaradhan3 at gmail.com
Sun Jul 10 22:13:33 EDT 2011
Thanks folks,
Tried all of these, and went with staticmethod(). Was cleanest
solution,
> After skimming over Steven's post: use staticmethod.
> No idea why I didn't think of that myself.
Kannan
More information about the Python-list
mailing list