From 7b794ef3435157f7e753518051e443f2462aa4f3 Mon Sep 17 00:00:00 2001 From: Stephen Morton Date: Mon, 14 Oct 2024 15:38:35 -0700 Subject: [PATCH] remove unneeded fake base classes from mmap.mmap (#12807) --- stdlib/mmap.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/mmap.pyi b/stdlib/mmap.pyi index a0c150d6e..5be7f7b76 100644 --- a/stdlib/mmap.pyi +++ b/stdlib/mmap.pyi @@ -1,6 +1,6 @@ import sys from _typeshed import ReadableBuffer, Unused -from collections.abc import Iterable, Iterator, Sized +from collections.abc import Iterator from typing import Final, Literal, NoReturn, overload from typing_extensions import Self @@ -30,7 +30,7 @@ if sys.platform != "win32": PAGESIZE: int -class mmap(Iterable[int], Sized): +class mmap: if sys.platform == "win32": def __init__(self, fileno: int, length: int, tagname: str | None = ..., access: int = ..., offset: int = ...) -> None: ... else: