summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-08 23:03:53 (GMT)
committerGitHub <noreply@github.com>2021-04-08 23:03:53 (GMT)
commita9228d02d16fe90f2f13e7e9ec478f7b4f8607a2 (patch)
tree1fb1d3cb21bc2f67abaccd42406f4c06f8874263
parent5490b49fa6646c9f48869955c12cf6af9fc3f2a4 (diff)
downloadcpython-a9228d02d16fe90f2f13e7e9ec478f7b4f8607a2.zip
cpython-a9228d02d16fe90f2f13e7e9ec478f7b4f8607a2.tar.gz
cpython-a9228d02d16fe90f2f13e7e9ec478f7b4f8607a2.tar.bz2
[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@163.com> Automerge-Triggered-By: GH:brandtbucher
-rw-r--r--Doc/reference/compound_stmts.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index f7eca2a..7542416 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`]]