summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-02 12:59:59 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-02 12:59:59 (GMT)
commit9c322fbe368ac572eb25051e13321b3481670777 (patch)
treef61b43f55c0445bbf110cefa06bf30247a945294
parent477c85631a95d6f0ce49f8651bb73f2bfc950493 (diff)
downloadcpython-9c322fbe368ac572eb25051e13321b3481670777.zip
cpython-9c322fbe368ac572eb25051e13321b3481670777.tar.gz
cpython-9c322fbe368ac572eb25051e13321b3481670777.tar.bz2
The expression list in inheritance is not optional. Fixes #960448.
Will backport to 2.3.
-rw-r--r--Doc/ref/ref7.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex
index 4770dc9..80ddc33 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}