summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref7.tex
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2005-04-09 03:03:00 (GMT)
committerBrett Cannon <bcannon@gmail.com>2005-04-09 03:03:00 (GMT)
commit629496b77c1b580da01d72604e907aa9b98d91bc (patch)
treeadaeac707f1377eee4c875cc86f3a05f8a76ebf5 /Doc/ref/ref7.tex
parentf4189916e366045a44755d453c89d30e5006f84f (diff)
downloadcpython-629496b77c1b580da01d72604e907aa9b98d91bc.zip
cpython-629496b77c1b580da01d72604e907aa9b98d91bc.tar.gz
cpython-629496b77c1b580da01d72604e907aa9b98d91bc.tar.bz2
Add grammar change for allowing ``class B(): pass`` syntax.
Diffstat (limited to 'Doc/ref/ref7.tex')
-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 7459412..a285c4c 100644
--- a/Doc/ref/ref7.tex
+++ b/Doc/ref/ref7.tex
@@ -439,7 +439,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}