diff options
author | 180909 <734461790@qq.com> | 2022-10-06 16:52:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 16:52:21 (GMT) |
commit | cd0fde27f9657266a0fb5782a5234678f2cf4662 (patch) | |
tree | 3483ad98a44cc33c4f1bffca2b83e0f71bf35f02 /Doc/whatsnew | |
parent | 6d0a0191a4e5477bd843e62c24d7f3bcad4fd5fc (diff) | |
download | cpython-cd0fde27f9657266a0fb5782a5234678f2cf4662.zip cpython-cd0fde27f9657266a0fb5782a5234678f2cf4662.tar.gz cpython-cd0fde27f9657266a0fb5782a5234678f2cf4662.tar.bz2 |
gh-95986: Fix the example using match keyword (#95989)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index db8d928..428a194 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!") |