Skip to content

Commit

Permalink
gh-95986: Fix the example using match keyword (#95989)
Browse files Browse the repository at this point in the history
  • Loading branch information
180909 authored Oct 6, 2022
1 parent 6d0a019 commit cd0fde2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Doc/whatsnew/3.10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ Several other key features:
GREEN = 1
BLUE = 2
color = Color.GREEN
match color:
case Color.RED:
print("I see red!")
Expand Down

0 comments on commit cd0fde2

Please sign in to comment.