Kaydet (Commit) f08437ca authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #1023359] Make code match inheritance diagram

üst f43e8bd7
...@@ -347,7 +347,7 @@ will be used in methods to call a method in the superclass; for ...@@ -347,7 +347,7 @@ will be used in methods to call a method in the superclass; for
example, \class{D}'s \method{save()} method would look like this: example, \class{D}'s \method{save()} method would look like this:
\begin{verbatim} \begin{verbatim}
class D: class D (B,C):
def save (self): def save (self):
# Call superclass .save() # Call superclass .save()
super(D, self).save() super(D, self).save()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment