]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
class definitions only get argument lists (closes #27042)
authorBenjamin Peterson <benjamin@python.org>
Tue, 17 May 2016 06:20:22 +0000 (23:20 -0700)
committerBenjamin Peterson <benjamin@python.org>
Tue, 17 May 2016 06:20:22 +0000 (23:20 -0700)
Doc/reference/compound_stmts.rst

index d45a880ca4b8d39f681e141a514e5b7fc4e459b5..8047673e190f46ba728ee65697d319810de0945f 100644 (file)
@@ -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