From 666da4b48ad127ef687267809697144c9b8d6368 Mon Sep 17 00:00:00 2001 From: Adrian Freund Date: Tue, 9 Mar 2021 22:23:54 +0100 Subject: [PATCH] Fix error in documentation for ast.match_case --- Doc/library/ast.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index b5e1be82691157..4bc9906e8568a9 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