mirror of https://github.com/python/cpython.git
[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:
parent
94fbe97bbe
commit
eedaa4eefb
|
@ -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`]
|
||||
|
|
Loading…
Reference in New Issue