]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
The expression list in inheritance is not optional. Fixes #960448.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 13:00:32 +0000 (13:00 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 13:00:32 +0000 (13:00 +0000)
Doc/ref/ref7.tex

index 346dce07c28fd8a72c6a577f45674c3a4375a93b..1c6d3691a918861f3b6a551acbcbfe245ab7a8c3 100644 (file)
@@ -412,7 +412,7 @@ A class definition defines a class object (see section~\ref{types}):
              {"class" \token{classname} [\token{inheritance}] ":"
               \token{suite}}
   \production{inheritance}
-             {"(" [\token{expression_list}] ")"}
+             {"(" \token{expression_list} ")"}
   \production{classname}
              {\token{identifier}}
 \end{productionlist}