From 629496b77c1b580da01d72604e907aa9b98d91bc Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 9 Apr 2005 03:03:00 +0000 Subject: Add grammar change for allowing ``class B(): pass`` syntax. --- Doc/ref/ref7.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v0.12