mirror of
https://github.com/python/cpython.git
synced 2024-12-27 02:35:13 +08:00
kill superfluous 'comprehension' case (closes #13658)
This commit is contained in:
parent
fe8039b3e5
commit
ad17358a2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user