From: Benjamin Peterson Date: Sat, 24 Dec 2011 02:00:56 +0000 (-0600) Subject: kill superfluous 'comprehension' case (closes #13658) X-Git-Tag: v3.2.3rc1~245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad17358a2f00b22e43fb620ee3b801721098dd3d;p=python kill superfluous 'comprehension' case (closes #13658) --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index e7a6f1858c..e20eeb02a3 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -554,7 +554,7 @@ A class definition defines a class object (see section :ref:`types`): .. productionlist:: classdef: [`decorators`] "class" `classname` [`inheritance`] ":" `suite` - inheritance: "(" [`argument_list` [","] | `comprehension`] ")" + inheritance: "(" [`parameter_list`] ")" classname: `identifier` A class definition is an executable statement. The inheritance list usually