Skip to content

Commit

Permalink
Delete unnecessary Union.
Browse files Browse the repository at this point in the history
  • Loading branch information
knutnergaard committed Dec 6, 2024
1 parent 452dd0d commit 29901b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/fontParts/base/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ def _get_segments(self) -> Tuple[BaseSegment, ...]:
points = self.points
if not points:
return ()
segments: Union[List[List[BasePoint]]] = [[]]
segments: List[List[BasePoint]] = [[]]
lastWasOffCurve = False
firstIsMove = points[0].type == "move"
for point in points:
Expand Down

0 comments on commit 29901b1

Please sign in to comment.