mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Fix error in documentation for ast.match_case (GH-24807)
This commit is contained in:
parent
1fa17e8cc6
commit
0a30f0e934
1 changed files with 1 additions and 1 deletions
|
|
@ -1252,7 +1252,7 @@ Control flow
|
||||||
:class:`match_case` nodes with the different cases.
|
:class:`match_case` nodes with the different cases.
|
||||||
|
|
||||||
|
|
||||||
.. class:: match_case(context_expr, optional_vars)
|
.. class:: match_case(pattern, guard, body)
|
||||||
|
|
||||||
A single case pattern in a ``match`` statement. ``pattern`` contains the
|
A single case pattern in a ``match`` statement. ``pattern`` contains the
|
||||||
match pattern that will be used to match the subject against. Notice that
|
match pattern that will be used to match the subject against. Notice that
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue