title: Python : Acces to className in a class method from the daughter class
body: <p>My question is simple to pose I have that:</p>
  
  <pre><code>class A(object):
      def methodA():
          print(__class__)
  class B(A):
      pass
  
  B.methodA()
  #&lt;class '__main__.A'&gt;
  </code></pre>
  
  <p>i would like to have class '<strong>main</strong>.B' without overwrite methodA in class B. </p>
  
  <p>A can be a abstract class if it's help</p>