Hi all, is there a way to retrive the function name like with
self.__class__.__name__?

Using self.__dict__.__name__ I've got

>>> def test():
...     print(self.__dict__.__name__)
...
>>> test
<function test at 0x0178DDF8>

But I really just want the function name, so 'test'

Any help?

Thanks,

Mattia
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to