]> granicus.if.org Git - python/commitdiff
kill superfluous 'comprehension' case (closes #13658)
authorBenjamin Peterson <benjamin@python.org>
Sat, 24 Dec 2011 02:00:56 +0000 (20:00 -0600)
committerBenjamin Peterson <benjamin@python.org>
Sat, 24 Dec 2011 02:00:56 +0000 (20:00 -0600)
Doc/reference/compound_stmts.rst

index e7a6f1858c1125e9b1a3f4935ddebb3b61ab13ec..e20eeb02a363ae899b2abdaf2c6d7ad101ac301a 100644 (file)
@@ -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