From 542f6349051efcf9258eed14bfec162d83db4e03 Mon Sep 17 00:00:00 2001 From: Jerome Kelleher Date: Fri, 26 Jul 2024 17:27:44 +0100 Subject: [PATCH] Fix for python 3.9 --- algorithms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms.py b/algorithms.py index 2ac254567..716f882e3 100644 --- a/algorithms.py +++ b/algorithms.py @@ -115,7 +115,7 @@ def find(self, v): # Once we drop support for 3.9 we can use slots=True to prevent # writing extra attrs. -@dataclasses.dataclass(slots=True) +@dataclasses.dataclass # (slots=True) class Segment: """ A class representing a single segment. Each segment has a left