Skip to content

Commit a0d2d63

Browse files
180909mpage
authored andcommitted
pythongh-95986: Fix the example using match keyword (python#95989)
1 parent 79fbf97 commit a0d2d63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 1 addition & 0 deletions
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)