title: Problem with compostion and access to nested objects
body: <p>So i have a parent class lets call it A</p>
  <p>Inside of object A there are sub objects (not inheritance) these are compositional objects called B and C lets say.</p>
  <p>So something like this</p>
  <pre><code>    class A(object):
      def __init__():
      B = B()
      C= C()
      
      
      
  class B():
      def __init__(self):
      self.attribute_1 = whatever
      
  class C():
      def __init__(self):
      self.attribute_1 = whatever
  
  
  Parent_object = A()
  </code></pre>
  <p>No the problem comes in</p>
  <p>I have a method inside of object B that object C needs access to</p>
  <p>How do i do that?</p>
  <p>I have tried various different versions of self and it wont compile (interpret)
  Like this</p>
  <pre><code>class A(object):
      def __init__():
      B = B()
      C= C()
      
      
      
  class B():
      def __init__(self):
      self.attribute_1 = whatever
      
      
  class C():
      def __init__(self):
      self.attribute_1 = whatever
      
      #This wont work
      self.new_thing = self.b.attribute_1
  
  
  Parent_object = A()
  </code></pre>
  <p>How do i make this work? In other words, the two sub objects need access to each others stuff.</p>
  <p>Thanks</p>