gh-95986: Fix the example using match keyword (#95989)

This commit is contained in:
180909 2022-10-07 00:52:21 +08:00 committed by GitHub
parent 6d0a0191a4
commit cd0fde27f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -669,6 +669,7 @@ Several other key features:
GREEN = 1
BLUE = 2
color = Color.GREEN
match color:
case Color.RED:
print("I see red!")