]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-131457: Fix typo in BNF description of function signatures (GH-131460)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Mar 2025 08:00:54 +0000 (09:00 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Mar 2025 08:00:54 +0000 (08:00 +0000)
gh-131457: Fix typo in BNF description of function signatures (GH-131460)
(cherry picked from commit 8b7d20d3a9dc53344e3803507deafc26b5c09ca8)

Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com>
Doc/reference/compound_stmts.rst

index e351c962d99bd4fc9d89130e98a6f8f904fda6dd..c83bd9c4f3d5d574beea473f7af542a576c71e83 100644 (file)
@@ -1218,7 +1218,7 @@ A function definition defines a user-defined function object (see section
    parameter_list_no_posonly: `defparameter` ("," `defparameter`)* ["," [`parameter_list_starargs`]]
                             : | `parameter_list_starargs`
    parameter_list_starargs: "*" [`star_parameter`] ("," `defparameter`)* ["," [`parameter_star_kwargs`]]
-                          : "*" ("," `defparameter`)+ ["," [`parameter_star_kwargs`]]
+                          : "*" ("," `defparameter`)+ ["," [`parameter_star_kwargs`]]
                           : | `parameter_star_kwargs`
    parameter_star_kwargs: "**" `parameter` [","]
    parameter: `identifier` [":" `expression`]