Upgrade to latest 3.12 and 3.13 versions for stubtest (#12131)

This commit is contained in:
Alex Waygood
2024-06-12 12:16:39 +01:00
committed by GitHub
parent 9197ace5ec
commit 3ab03deec3
16 changed files with 64 additions and 117 deletions

View File

@@ -1,7 +1,7 @@
import sys
from _typeshed import ReadableBuffer, Unused
from collections.abc import Iterable, Iterator, Sized
from typing import NoReturn, overload
from typing import Final, NoReturn, overload
from typing_extensions import Self
ACCESS_DEFAULT: int
@@ -113,3 +113,9 @@ if sys.platform != "linux" and sys.platform != "darwin" and sys.platform != "win
if sys.version_info >= (3, 10) and sys.platform == "darwin":
MADV_FREE_REUSABLE: int
MADV_FREE_REUSE: int
if sys.version_info >= (3, 13) and sys.platform != "win32":
MAP_32BIT: Final = 32768
if sys.version_info >= (3, 13) and sys.platform == "darwin":
MAP_TPRO: Final = 524288