mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
kill superfluous 'comprehension' case (closes #13658)
This commit is contained in:
parent
fe8039b3e5
commit
ad17358a2f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue