summaryrefslogtreecommitdiff
path: root/puzzles/20_enum_in_literal.py
diff options
context:
space:
mode:
Diffstat (limited to 'puzzles/20_enum_in_literal.py')
-rw-r--r--puzzles/20_enum_in_literal.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/puzzles/20_enum_in_literal.py b/puzzles/20_enum_in_literal.py
deleted file mode 100644
index a743168..0000000
--- a/puzzles/20_enum_in_literal.py
+++ /dev/null
@@ -1,8 +0,0 @@
-import enum
-from typing import Literal
-
-class Color(enum.Enum):
- Red = enum.auto()
- Blue = enum.auto()
-
-c: Literal[Color.Red] = Color.Blue # error