From 073ccacee9c6e9a74901d798ce3860544a2e70c0 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Thu, 12 Jan 2023 23:06:02 -0800 Subject: [PATCH] remove duplicatre __delitem__ --- masque/library.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/masque/library.py b/masque/library.py index e3a60f3..2943a50 100644 --- a/masque/library.py +++ b/masque/library.py @@ -250,16 +250,13 @@ class Library(Mapping[str, Pattern], metaclass=ABCMeta): class MutableLibrary(Library, metaclass=ABCMeta): - @abstractmethod - def __setitem__(self, key: str, value: VVV) -> None: - pass # inherited abstract functions #def __getitem__(self, key: str) -> 'Pattern': #def __iter__(self) -> Iterator[str]: #def __len__(self) -> int: @abstractmethod - def __delitem__(self, key: str) -> None: + def __setitem__(self, key: str, value: VVV) -> None: # TODO pass @abstractmethod