mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Fix error in documentation for ast.match_case (GH-24807)
This commit is contained in:
parent
1fa17e8cc6
commit
0a30f0e934
@ -1252,7 +1252,7 @@ Control flow
|
||||
: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
|
||||
match pattern that will be used to match the subject against. Notice that
|
||||
|
Loading…
Reference in New Issue
Block a user