title: Is it possible to refer to the owner class that an object belongs to as an attribute?
body: <p>I am not quite sure this is possible (or something similar) in python. I want to access a method (or another object) of a class from an object that is an attribute of such class. </p>
  
  <p>Consider the following code:</p>
  
  <pre><code>class A():
    def __init__(self):
       self.b = B()
       self.c = C()
    def print_owner(self):
       print('owner')
  
  class B():
    def __init__(self):
       pass
    def call_owner(self):
       self.owner().print_owner()
  </code></pre>
  
  <p>so that <code>b</code> as an object attribute of class <code>A</code>, can refer to a method or attribute of <code>A</code>?</p>
  
  <p>Or similarly, is it possible that <code>b</code> can access <code>c</code>?</p>