Fix error in documentation for ast.match_case (GH-24807)

This commit is contained in:
Adrian Freund 2021-03-10 16:58:31 +01:00 committed by GitHub
parent 1fa17e8cc6
commit 0a30f0e934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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