Fix availability of some constants for Windows (#10818)

This commit is contained in:
Alex Waygood
2023-10-02 00:27:55 +01:00
committed by GitHub
parent efa7a51d09
commit 205cfcfca6
5 changed files with 8 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ if sys.platform != "win32":
PROT_READ: int
PROT_WRITE: int
PAGESIZE: int
PAGESIZE: int
class mmap(Iterable[int], Sized):
if sys.platform == "win32":