[Python-checkins] cpython (3.5): class definitions only get argument lists (closes #27042)

benjamin.peterson python-checkins at python.org
Tue May 17 02:20:40 EDT 2016


https://hg.python.org/cpython/rev/d13999a6be8c
changeset:   101401:d13999a6be8c
branch:      3.5
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon May 16 23:20:22 2016 -0700
summary:
  class definitions only get argument lists (closes #27042)

files:
  Doc/reference/compound_stmts.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -604,7 +604,7 @@
 
 .. 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list