summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorSaiyang Gou <gousaiyang@163.com>2021-04-08 22:34:09 (GMT)
committerGitHub <noreply@github.com>2021-04-08 22:34:09 (GMT)
commit1e051a21b7106a93c30b74aad7e1f40d6c0c477b (patch)
tree6170cc78597ed35a5c861172f02bf77fd6b10d19 /Doc/reference
parentf32d0221477f18993666bb66cc79c61c4e145d42 (diff)
downloadcpython-1e051a21b7106a93c30b74aad7e1f40d6c0c477b.zip
cpython-1e051a21b7106a93c30b74aad7e1f40d6c0c477b.tar.gz
cpython-1e051a21b7106a93c30b74aad7e1f40d6c0c477b.tar.bz2
bpo-39702: Remove dotted_name from decorator documentation (GH-25234)
Diffstat (limited to 'Doc/reference')
-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 c36b50e..2da9068 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -1138,7 +1138,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`]]