Skip to content

Commit

Permalink
Fix error in documentation for ast.match_case (GH-24807)
Browse files Browse the repository at this point in the history
  • Loading branch information
freundTech committed Mar 10, 2021
1 parent 1fa17e8 commit 0a30f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/ast.rst
Expand Up @@ -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
Expand Down

0 comments on commit 0a30f0e

Please sign in to comment.