https://github.com/python/cpython/commit/b1e238433517ee171d348f780365db030b7b2d2f commit: b1e238433517ee171d348f780365db030b7b2d2f branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn <m...@sobolevn.me> date: 2025-03-22T08:01:47Z summary:
[3.12] gh-131457: Fix typo in BNF description of function signatures (GH-131460) (#131576) gh-131457: Fix typo in BNF description of function signatures (GH-131460) (cherry picked from commit 8b7d20d3a9dc53344e3803507deafc26b5c09ca8) Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreeni...@gmail.com> files: M Doc/reference/compound_stmts.rst diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index f399292aac094f..701e006ad10e02 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -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`] _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com