Identifing current function

Brian Donovan john at doe.com
Thu Jan 22 03:21:54 CET 2004


Hi all,

  Is there a way to identify the current function. For example:

class A:
   def B(self):
      print current_function_name





More information about the Python-list mailing list