summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-05-17 06:20:22 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-05-17 06:20:22 (GMT)
commit54044d605fee2867bbfe18610fc0b8120a4ff239 (patch)
treee91351c5695838446ff9d112ca4c8f9dd91580ae
parentbc7ee43a6de908641a012af107a50f38c75d9721 (diff)
downloadcpython-54044d605fee2867bbfe18610fc0b8120a4ff239.zip
cpython-54044d605fee2867bbfe18610fc0b8120a4ff239.tar.gz
cpython-54044d605fee2867bbfe18610fc0b8120a4ff239.tar.bz2
class definitions only get argument lists (closes #27042)
-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 d45a880..8047673 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -604,7 +604,7 @@ A class definition defines a class object (see section :ref:`types`):
.. productionlist::
classdef: [`decorators`] "class" `classname` [`inheritance`] ":" `suite`
- inheritance: "(" [`parameter_list`] ")"
+ inheritance: "(" [`argument_list`] ")"
classname: `identifier`
A class definition is an executable statement. The inheritance list usually