Default value of memberfunction in python
<pre><code>class foo():
    def __init__(self,a):
        self.A=a

    def foo2(self,aa=self.A):
        return "la"
    @classmethod
    def test(cls):
        d=foo()
        d.foo2()
</code></pre>

<p>The memberfunction foo2 cannot find self.A nor A. Is it because A is not globally set inside the class? </p>
