title: Python class methods overloading
body: <p>How can I overload class methods?
  I failed with:</p>
  
  <pre><code>class D(object):
      def create(self):
          foo = 100
          bar = 'squirrels'
          baz = 'I have %d insane %s in my head.' % (foo, bar)
          return baz     
  
  class C(D):
      def create(self):
          super(C, self).create()
          baz = 'I have %s cute %s in my yard.' % (self.foo, self.bar)
  
  C().create()
  </code></pre>
  
  <p>Traceback was:</p>
  
  <pre><code>AttributeError: 'C' object has no attribute 'foo'
  </code></pre>