]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] bpo-39702: Remove dotted_name from decorator documentation (GH-25234) (GH-25290)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 Apr 2021 23:03:53 +0000 (16:03 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Apr 2021 23:03:53 +0000 (16:03 -0700)
(cherry picked from commit 1e051a21b7106a93c30b74aad7e1f40d6c0c477b)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
Automerge-Triggered-By: GH:brandtbucher
Doc/reference/compound_stmts.rst

index f7eca2aa8472b75e8f9cb976f1182bb918499672..75424162a48b074278cd29f49feeb6ccfc66291a 100644 (file)
@@ -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`]]