stdlib: Add several missing @abstractmethod decorators (#7443)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-03-06 16:41:13 -08:00
1 parent 2fb9c35ff9
commit 947724a5cb
7 files changed
+29 -4

No files matched your search

+1
View File
@@ -70,6 +70,7 @@ class mmap(AbstractContextManager[mmap], Iterable[int], Sized):
# Doesn't actually exist, but the object is actually iterable because it has __getitem__ and
# __len__, so we claim that there is also an __iter__ to help type checkers.
def __iter__(self) -> Iterator[int]: ...
def __exit__(self, *args: object) -> None: ...
if sys.version_info >= (3, 8) and sys.platform != "win32":
MADV_NORMAL: int