remove duplicatre __delitem__

This commit is contained in:
Jan Petykiewicz 2023-01-12 23:06:02 -08:00 committed by jan
parent a4f89e6f48
commit e3511ed852

View File

@ -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