summaryrefslogtreecommitdiffstats
path: root/Doc/reference/compound_stmts.rst
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-05-29 21:59:00 (GMT)
committerGitHub <noreply@github.com>2019-05-29 21:59:00 (GMT)
commit29cb21ddb92413931e473eb799a02e2d8cdf4a45 (patch)
tree2fa0a0dc9c482a92c420c5497cb1cca700379257 /Doc/reference/compound_stmts.rst
parent8f96c9f8ed2a4795e34b333411451e24f28f74d2 (diff)
downloadcpython-29cb21ddb92413931e473eb799a02e2d8cdf4a45.zip
cpython-29cb21ddb92413931e473eb799a02e2d8cdf4a45.tar.gz
cpython-29cb21ddb92413931e473eb799a02e2d8cdf4a45.tar.bz2
Regenerate topics file (GH-13642)
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
-rw-r--r--Doc/reference/compound_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index bf53cb5..988eec6 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -483,7 +483,7 @@ A function definition defines a user-defined function object (see section
decorators: `decorator`+
decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
dotted_name: `identifier` ("." `identifier`)*
- parameter_list: `defparameter` ("," `defparameter`)* ',' '/' [',' [`parameter_list_no_posonly`]]
+ parameter_list: `defparameter` ("," `defparameter`)* "," "/" ["," [`parameter_list_no_posonly`]]
: | `parameter_list_no_posonly`
parameter_list_no_posonly: `defparameter` ("," `defparameter`)* ["," [`parameter_list_starargs`]]
: | `parameter_list_starargs`