Inheriting Python class methods? : <p>Still don't undertstand Python inheritance, I feel... thanks for tips!</p>

<p>I want a subclass's instance to execute the superclass's class method. Tried this:</p>

<pre><code>class SuperClass()
  @classmethod
  def aClassMethod(cls)
    pass

class SubClass(SuperClass)
  def aMethod(self)
    self.__class__.aClassMethod()

instance = SubClass()
instance.aMethod()
</code></pre>

<p>But Python tells me that "SubClass" does not have attribute "aClassMethod". Yes, sure, I know, but how can I make the superclass's class method accessible to the subclass instance? </p>
