mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Fix stubtest failures for mmap on windows (#4094)
This commit is contained in:
@@ -54,7 +54,7 @@ class _mmap(Generic[AnyStr]):
|
||||
if sys.version_info >= (3,):
|
||||
class mmap(_mmap[bytes], ContextManager[mmap], Iterable[bytes], Sized):
|
||||
closed: bool
|
||||
if sys.version_info >= (3, 8):
|
||||
if sys.version_info >= (3, 8) and sys.platform != "win32":
|
||||
def madvise(self, option: int, start: int = ..., length: int = ...) -> None: ...
|
||||
def rfind(self, sub: bytes, start: int = ..., stop: int = ...) -> int: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user