https://github.com/python/cpython/commit/8b7d20d3a9dc53344e3803507deafc26b5c09ca8
commit: 8b7d20d3a9dc53344e3803507deafc26b5c09ca8
branch: main
author: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
<[email protected]>
committer: sobolevn <[email protected]>
date: 2025-03-22T10:54:48+03:00
summary:
gh-131457: Fix typo in BNF description of function signatures (#131460)
files:
M Doc/reference/compound_stmts.rst
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 949cdf3be8b7e3..72e65614c2439d 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -1222,7 +1222,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`]
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]