Skip to content

Commit 479a473

Browse files
committed
Make the union type syntax work in Python 3.7+
1 parent 9ef824e commit 479a473

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mandelbrot-set-python/mandelbrot_03.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# mandelbrot_03.py
22

3+
from __future__ import annotations # Union type syntax
34
from dataclasses import dataclass
45
from math import log
56

0 commit comments

Comments
 (0)