diff options
author | Adrian Freund <git@freundtech.com> | 2021-03-10 15:58:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-10 15:58:31 (GMT) |
commit | 0a30f0e93495355900fc7add10cc3bddd648bac5 (patch) | |
tree | d9c4276fceb815ca7e5a1ce0b8d04caca0136500 | |
parent | 1fa17e8cc62775a2e34b158135ce8589f9394f03 (diff) | |
download | cpython-0a30f0e93495355900fc7add10cc3bddd648bac5.zip cpython-0a30f0e93495355900fc7add10cc3bddd648bac5.tar.gz cpython-0a30f0e93495355900fc7add10cc3bddd648bac5.tar.bz2 |
Fix error in documentation for ast.match_case (GH-24807)
-rw-r--r-- | Doc/library/ast.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index b5e1be8..4bc9906 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -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 |