mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add MAP_STACK to mmap module (#10792)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -16,6 +16,8 @@ if sys.platform == "linux":
|
||||
MAP_EXECUTABLE: int
|
||||
if sys.version_info >= (3, 10):
|
||||
MAP_POPULATE: int
|
||||
if sys.version_info >= (3, 11) and sys.platform != "win32" and sys.platform != "darwin":
|
||||
MAP_STACK: int
|
||||
|
||||
if sys.platform != "win32":
|
||||
MAP_ANON: int
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
_?curses.color_pair
|
||||
mmap.MAP_STACK
|
||||
(os|posix).sendfile
|
||||
signal.sigtimedwait
|
||||
signal.sigwaitinfo
|
||||
|
||||
@@ -2,7 +2,6 @@ _?curses.color_pair
|
||||
_posixsubprocess.fork_exec
|
||||
(os|posix).sendfile
|
||||
(os|posix).setns
|
||||
mmap.MAP_STACK
|
||||
resource.prlimit
|
||||
signal.sigtimedwait
|
||||
signal.sigwaitinfo
|
||||
|
||||
Reference in New Issue
Block a user