Re: the name of a method

2009-01-15 Thread Matimus
On Jan 15, 8:23 am, thomas.steffe...@googlemail.com wrote: > Hello, > > I have a Class: > > class myClass: >     def __init__(self): >         # do something >         print "name of class = " +  self.__class__.__name__ > >     def myMethod(self): >         # do something >         print "name of m

Re: the name of a method

2009-01-15 Thread Jason Scheirer
On Jan 15, 8:37 am, "Diez B. Roggisch" wrote: > thomas.steffe...@googlemail.com wrote: > > Hello, > > > I have a Class: > > > class myClass: > >     def __init__(self): > >         # do something > >         print "name of class = " +  self.__class__.__name__ > > >     def myMethod(self): > >    

Re: the name of a method

2009-01-15 Thread Diez B. Roggisch
thomas.steffe...@googlemail.com wrote: > Hello, > > I have a Class: > > class myClass: > def __init__(self): > # do something > print "name of class = " + self.__class__.__name__ > > def myMethod(self): > # do something > print "name of method = " + "myM