]> granicus.if.org Git - python/commitdiff
[Bug #1023359] Make code match inheritance diagram
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Sep 2004 19:33:00 +0000 (19:33 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Sep 2004 19:33:00 +0000 (19:33 +0000)
Doc/whatsnew/whatsnew22.tex

index e2f6bef5fbd92322a1c871ee4a9e41674fc1413a..82ff06133875b7d515e28a1b0149937383d95ef8 100644 (file)
@@ -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:
 
 \begin{verbatim}
-class D:
+class D (B,C):
     def save (self):
        # Call superclass .save()
         super(D, self).save()