From cd0fde27f9657266a0fb5782a5234678f2cf4662 Mon Sep 17 00:00:00 2001 From: 180909 <734461790@qq.com> Date: Fri, 7 Oct 2022 00:52:21 +0800 Subject: [PATCH] gh-95986: Fix the example using match keyword (#95989) --- Doc/whatsnew/3.10.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index db8d9281b1f..428a19453db 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -669,6 +669,7 @@ Several other key features: GREEN = 1 BLUE = 2 + color = Color.GREEN match color: case Color.RED: print("I see red!")