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
--
http://mail.python.org/mailman/listinfo/python-list
Hi Folks,
Here is something I don't fully understand.
1 def DefaultTracer(fmt, *args):
2 fmt = 'in DefaultTracer ' + fmt
3 print(fmt % args)
4 pass
5 def myTracer(fmt, *args):
6 fmt = 'in myTracer ' + fmt
7 print(fmt % args)
8
9 class MyClass:
10 ClassDefaultTracer