Skip to content

Commit cd0fde2

Browse files
authored
gh-95986: Fix the example using match keyword (#95989)
1 parent 6d0a019 commit cd0fde2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/whatsnew/3.10.rst

+1
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ Several other key features:
669669
GREEN = 1
670670
BLUE = 2
671671
672+
color = Color.GREEN
672673
match color:
673674
case Color.RED:
674675
print("I see red!")

0 commit comments

Comments
 (0)