Inheritance in python and constructor calls
<p>The output is:</p>

<pre><code>Class A
Class B
printout
</code></pre>

<p>Given code:</p>

<pre><code>class A(object):
    def __init__(self):
        print "Class A"
    def printout(self):
        print "printout"

class B(A):
    def __init__(self):
        print "Class B"

def main():
    myA = A()
    myB = B()
    myB.printout()

if __name__ == '__main__':
    main()
</code></pre>

<p>I was hoping for:</p>

<pre><code>Class A
Class A
Class B
printout
</code></pre>

<p>as result... :/</p>
