mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 23:05:50 +08:00
remove unneeded fake base classes from mmap.mmap (#12807)
This commit is contained in:
1 parent
a2d6d5315b
commit
7b794ef343
1 file changed
+2
-2
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user