]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Docs: Add cross-reference for `positional_item` in the `calls` productionlist...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Jun 2025 14:31:25 +0000 (16:31 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Jun 2025 14:31:25 +0000 (14:31 +0000)
Docs: Add cross-reference for `positional_item` in the `calls` productionlist (GH-129977)

Add missing hyperlink for `positional_item`
(cherry picked from commit d2154912b3b10823c138e904e74f2a1e7e7ca96c)

Co-authored-by: HarryLHW <123lhw321@gmail.com>
Doc/reference/expressions.rst

index b237d52c3e75b5003525c987e18d23e9065247af..55bae3df25e49538074be97a17d4540e379030b7 100644 (file)
@@ -1025,7 +1025,7 @@ series of :term:`arguments <argument>`:
                 :   ["," `keywords_arguments`]
                 : | `starred_and_keywords` ["," `keywords_arguments`]
                 : | `keywords_arguments`
-   positional_arguments: positional_item ("," positional_item)*
+   positional_arguments: `positional_item` ("," `positional_item`)*
    positional_item: `assignment_expression` | "*" `expression`
    starred_and_keywords: ("*" `expression` | `keyword_item`)
                 : ("," "*" `expression` | "," `keyword_item`)*