mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add mmap.MAP_POPULATE from 3.10 (#6964)
This commit is contained in:
@@ -13,6 +13,8 @@ ALLOCATIONGRANULARITY: int
|
||||
if sys.platform == "linux":
|
||||
MAP_DENYWRITE: int
|
||||
MAP_EXECUTABLE: int
|
||||
if sys.version_info >= (3, 10):
|
||||
MAP_POPULATE: int
|
||||
|
||||
if sys.platform != "win32":
|
||||
MAP_ANON: int
|
||||
|
||||
@@ -20,7 +20,6 @@ select.epoll.register
|
||||
# Exists at runtime, but missing from stubs
|
||||
asyncio.PidfdChildWatcher
|
||||
asyncio.unix_events.PidfdChildWatcher
|
||||
mmap.MAP_POPULATE
|
||||
os.EFD_CLOEXEC
|
||||
os.EFD_NONBLOCK
|
||||
os.EFD_SEMAPHORE
|
||||
|
||||
Reference in New Issue
Block a user