summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-24 02:00:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-24 02:00:56 (GMT)
commitad17358a2f00b22e43fb620ee3b801721098dd3d (patch)
treeb388f8ad73d987123a52bc0071e5c18817ef7940 /Doc
parentfe8039b3e5748f0e709592e6e5e158ec48068937 (diff)
downloadcpython-ad17358a2f00b22e43fb620ee3b801721098dd3d.zip
cpython-ad17358a2f00b22e43fb620ee3b801721098dd3d.tar.gz
cpython-ad17358a2f00b22e43fb620ee3b801721098dd3d.tar.bz2
kill superfluous 'comprehension' case (closes #13658)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/compound_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index e7a6f18..e20eeb0 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