Commit 629496b7 authored by Brett Cannon's avatar Brett Cannon

Add grammar change for allowing ``class B(): pass`` syntax.

parent f4189916
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment