Skip to content

Commit b693919

Browse files
committed
make square frozen
1 parent 5ada521 commit b693919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chessington/engine/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def opponent(self):
1616
else: return Player.WHITE
1717

1818

19-
@dataclass
19+
@dataclass(frozen=True)
2020
class Square:
2121
row: int
2222
col: int

0 commit comments

Comments
 (0)