K
Kirk Strauser
Given a class:
how can I find its name, such as:
'foo'
I'm writing a trace() decorator for the sake of practice, and am trying to
print the name of the class that a traced method belongs to. This seems
like it should be easy, but I think I've been staring at the problem too
long.
how can I find its name, such as:
'foo'
I'm writing a trace() decorator for the sake of practice, and am trying to
print the name of the class that a traced method belongs to. This seems
like it should be easy, but I think I've been staring at the problem too
long.