]> granicus.if.org Git - python/commitdiff
The expression list in inheritance is not optional. Fixes #960448.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 12:59:59 +0000 (12:59 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 2 Jun 2004 12:59:59 +0000 (12:59 +0000)
Will backport to 2.3.

Doc/ref/ref7.tex

index 4770dc9d47692d88180fc945532bb72566416c18..80ddc3394385dbb7a0f74086e3fd26788fd06386 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}