[3.13] gh-131457: Fix typo in BNF description of function signatures (GH-131460) (#131575)

gh-131457: Fix typo in BNF description of function signatures (GH-131460)
(cherry picked from commit 8b7d20d3a9)

Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్  రెడ్డి) <thatiparthysreenivas@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-03-22 09:00:54 +01:00 committed by GitHub
parent 94fbe97bbe
commit eedaa4eefb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View 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`]