Skip to content

Commit 0a30f0e

Browse files
authored
Fix error in documentation for ast.match_case (GH-24807)
1 parent 1fa17e8 commit 0a30f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ Control flow
12521252
:class:`match_case` nodes with the different cases.
12531253

12541254

1255-
.. class:: match_case(context_expr, optional_vars)
1255+
.. class:: match_case(pattern, guard, body)
12561256

12571257
A single case pattern in a ``match`` statement. ``pattern`` contains the
12581258
match pattern that will be used to match the subject against. Notice that

0 commit comments

Comments
 (0)