How to access static members of outer class from an inner class constructor?
<p>How to get this to work:</p>

<pre><code>class ABC(object):
    C1 = 1

    class DEF(object):
        def __init__(self, v=ABC.C1):
            self.v = v


a = ABC()
</code></pre>

<p>From the inner class DEF, I cannot access the constant "C1". I tried with "ABC.C1" and "C1" alone but to no avail.</p>

<p>Please advise.</p>
