[Tutor] print method name

rail shafigulin rail.shafigulin at gmail.com
Thu Dec 8 15:49:38 CET 2011


i created a class and in some instances when i use it call some of its
methods i need to print a method name. the online search did produce some
results but none of them seem to work for me. for example one of them said
just to use __name__ or func_name but it didn't work for me. i'm using
python 3.1.1

any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111208/0df22b4b/attachment.html>


More information about the Tutor mailing list