From 2aaae60c09295169314b8321fc6f799d4b8279ab Mon Sep 17 00:00:00 2001 From: 180909 <734461790@qq.com> Date: Mon, 15 Aug 2022 13:36:29 +0800 Subject: [PATCH] gh-95986: Fix the example using match keyword --- 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 db8d9281b1f2ed..428a19453db522 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!")