From: Martin v. Löwis Date: Wed, 2 Jun 2004 12:59:59 +0000 (+0000) Subject: The expression list in inheritance is not optional. Fixes #960448. X-Git-Tag: v2.4a1~310 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c322fbe368ac572eb25051e13321b3481670777;p=python The expression list in inheritance is not optional. Fixes #960448. Will backport to 2.3. --- diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex index 4770dc9d47..80ddc33943 100644 --- a/Doc/ref/ref7.tex +++ b/Doc/ref/ref7.tex @@ -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}