Python inheritance - how to call grandparent method? : <p>Consider the following piece of code:</p>

<pre><code>class A:
  def foo(self):
    return "A"

class B(A):
  def foo(self):
    return "B"

class C(B):
  def foo(self):
    tmp = ... # call A's foo and store the result to tmp
    return "C"+tmp
</code></pre>

<p>What shall be written instead of <code>...</code> so that the grandparent method <code>foo</code> in class <code>A</code> is called? I tried <code>super().foo()</code>, but it just calls parent method <code>foo</code> in class <code>B</code>. </p>

<p>I am using Python 3.</p>
