Identifing current function

Brian Donovan john at doe.com
Wed Jan 21 21:21:54 EST 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