Skip to content

Commit d0f9b87

Browse files
committed
Fix Union typing for python 3.9
1 parent 3758d54 commit d0f9b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classy_blocks/util/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def arc_mid(center: NPPointType, point_1: NPPointType, point_2: NPPointType) ->
235235
return divide_arc(center, point_1, point_2, 1)[0]
236236

237237

238-
def mirror(points: PointType | PointListType, normal: VectorType, origin: PointType):
238+
def mirror(points: Union[PointType, PointListType], normal: VectorType, origin: PointType):
239239
"""
240240
Mirrors one or more 3D points over a plane defined by origin and normal.
241241

0 commit comments

Comments
 (0)