[Python-checkins] [3.9] bpo-39702: Remove dotted_name from decorator documentation (GH-25234) (GH-25290)

miss-islington webhook-mailer at python.org
Thu Apr 8 19:04:04 EDT 2021


https://github.com/python/cpython/commit/a9228d02d16fe90f2f13e7e9ec478f7b4f8607a2
commit: a9228d02d16fe90f2f13e7e9ec478f7b4f8607a2
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-04-08T16:03:53-07:00
summary:

[3.9] bpo-39702: Remove dotted_name from decorator documentation (GH-25234) (GH-25290)



(cherry picked from commit 1e051a21b7106a93c30b74aad7e1f40d6c0c477b)


Co-authored-by: Saiyang Gou <gousaiyang at 163.com>

Automerge-Triggered-By: GH:brandtbucher

files:
M Doc/reference/compound_stmts.rst

diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index f7eca2aa8472b..75424162a48b0 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -510,7 +510,6 @@ A function definition defines a user-defined function object (see section
           : ["->" `expression`] ":" `suite`
    decorators: `decorator`+
    decorator: "@" `assignment_expression` NEWLINE
-   dotted_name: `identifier` ("." `identifier`)*
    parameter_list: `defparameter` ("," `defparameter`)* "," "/" ["," [`parameter_list_no_posonly`]]
                  :   | `parameter_list_no_posonly`
    parameter_list_no_posonly: `defparameter` ("," `defparameter`)* ["," [`parameter_list_starargs`]]



More information about the Python-checkins mailing list