title: Python call super constructor
body: <p>im working with the module HTMLParser and want to make a subclass. But i am unable to call the super constructor, what am i doing wrong ?</p>
  
  <pre><code>class CustomParser(HTMLParser):
  
  def __init__(self):
      super(CustomParser, self).__init__()
  </code></pre>
  
  <p>Stacktrace:</p>
  
  <pre><code>Traceback (most recent call last):
  File "C:\Users\Marc\Phyton\rafafafaf\src\test.py", line 20, in &lt;module&gt;
  C = CustomParser()
  File "C:\Users\Marc\Phyton\rafafafaf\src\test.py", line 17, in __init__
  super(CustomParser, self).__init__()
  TypeError: must be type, not classobj
  </code></pre>