Access outer class from inner class in python
<p>I have a situation like so...</p>

<pre><code>class Outer(object):

    def some_method(self):
        # do something

    class Inner(object):
        def __init__(self):
            self.Outer.some_method()    # &lt;-- this is the line in question
</code></pre>

<p>How can I access the <code>Outer</code> class's method from the <code>Inner</code> class?</p>

<p><strong>Edit</strong> -- Thanks for the responses.  I'm concluding that I need to re-assess how I had designed this to be implemented and come up with a more robust method.</p>
