]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Bug #1023359] Make code match inheritance diagram
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Sep 2004 19:43:11 +0000 (19:43 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Sep 2004 19:43:11 +0000 (19:43 +0000)
Doc/whatsnew/whatsnew22.tex

index 67e0c81f634038eb722f3a3051262b9b93275ff7..e94ca1fd67eeb2e47615bd6b8e957ee1ef8b45a4 100644 (file)
@@ -344,7 +344,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()