From ad02a3b790c75b626b2bb40dd75a91483d56e829 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 4 May 2024 20:07:33 +0200 Subject: Remove abstractmethod decorator from PolyMatrix.get_poly it is now implemented in terms of PolyMatrix.at --- polymatrix/polymatrix/mixins.py | 1 - 1 file changed, 1 deletion(-) diff --git a/polymatrix/polymatrix/mixins.py b/polymatrix/polymatrix/mixins.py index 06166ce..25b968c 100644 --- a/polymatrix/polymatrix/mixins.py +++ b/polymatrix/polymatrix/mixins.py @@ -63,7 +63,6 @@ class PolyMatrixMixin(abc.ABC): def gen_data(self) -> typing.Generator[tuple[tuple[int, int], PolyDict], None, None]: yield from self.entries() - @abc.abstractmethod @deprecated("Replaced by PolyMatrixMixin.at(row, col).") def get_poly(self, row: int, col: int) -> PolyDict | None: # NOTE: in the new API when there is nothing at an entry the at() -- cgit v1.2.1