summaryrefslogtreecommitdiff
path: root/puzzles/recursive_type.py
diff options
context:
space:
mode:
Diffstat (limited to 'puzzles/recursive_type.py')
-rw-r--r--puzzles/recursive_type.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/puzzles/recursive_type.py b/puzzles/recursive_type.py
new file mode 100644
index 0000000..5de796c
--- /dev/null
+++ b/puzzles/recursive_type.py
@@ -0,0 +1,3 @@
+from typing import Union
+
+Foo = list[Union['Foo', int]]