title: Getting container/parent object from within python
body: <p>In Python, is it possible to get the object, say Foo, that contains another object, Bar, from within Bar itself?  Here is an example of what I mean</p>
  
  <pre><code>class Foo(object):
      def __init__(self):
          self.bar = Bar()
          self.text = "Hello World"
  
  class Bar(object):
      def __init__(self):
          self.newText = foo.text #This is what I want to do, 
                                  #access the properties of the container object
  
  foo = Foo()
  </code></pre>
  
  <p>Is this possible?  Thanks!</p>