commit | 629496b77c1b580da01d72604e907aa9b98d91bc | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sat Apr 09 03:03:00 2005 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sat Apr 09 03:03:00 2005 +0000 |
tree | adaeac707f1377eee4c875cc86f3a05f8a76ebf5 | |
parent | f4189916e366045a44755d453c89d30e5006f84f [diff] |
Add grammar change for allowing ``class B(): pass`` syntax.
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 @@ {"class" \token{classname} [\token{inheritance}] ":" \token{suite}} \production{inheritance} - {"(" \token{expression_list} ")"} + {"(" [\token{expression_list}] ")"} \production{classname} {\token{identifier}} \end{productionlist}