diff options
author | Brett Cannon <bcannon@gmail.com> | 2005-04-09 03:03:00 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2005-04-09 03:03:00 (GMT) |
commit | 629496b77c1b580da01d72604e907aa9b98d91bc (patch) | |
tree | adaeac707f1377eee4c875cc86f3a05f8a76ebf5 | |
parent | f4189916e366045a44755d453c89d30e5006f84f (diff) | |
download | cpython-629496b77c1b580da01d72604e907aa9b98d91bc.zip cpython-629496b77c1b580da01d72604e907aa9b98d91bc.tar.gz cpython-629496b77c1b580da01d72604e907aa9b98d91bc.tar.bz2 |
Add grammar change for allowing ``class B(): pass`` syntax.
-rw-r--r-- | Doc/ref/ref7.tex | 2 |
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} |