title: How to get the caller of a method in a decorator, in python?
body: <p>Here is what I need to do:</p>
  
  <pre><code>def my_decorator():
      # Here I need to get the caller of my_method, in this case: "caller_class"
  
  class caller_class():
      def __init__(self):
          p = test_class()
          p.my_method()
  
  class test_class():
      @my_decorator
      def my_method(self):
          pass
  </code></pre>
  
  <p>Does anyone know how I should do this?</p>