mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
@@ -79,6 +79,7 @@ if sys.version_info >= (3, 8) and sys.platform != "win32":
|
||||
MADV_SEQUENTIAL: int
|
||||
MADV_WILLNEED: int
|
||||
MADV_DONTNEED: int
|
||||
MADV_FREE: int
|
||||
|
||||
if sys.platform == "linux":
|
||||
MADV_REMOVE: int
|
||||
@@ -94,7 +95,6 @@ if sys.version_info >= (3, 8) and sys.platform != "win32":
|
||||
MADV_NOHUGEPAGE: int
|
||||
MADV_DONTDUMP: int
|
||||
MADV_DODUMP: int
|
||||
MADV_FREE: int
|
||||
|
||||
# This Values are defined for FreeBSD but type checkers do not support conditions for these
|
||||
if sys.platform != "linux" and sys.platform != "darwin":
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
_?curses.A_ITALIC
|
||||
_?curses.color_pair
|
||||
webbrowser.MacOSXOSAScript.__init__
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
mmap.MADV_FREE
|
||||
distutils.util.__warningregistry__
|
||||
|
||||
# ==========
|
||||
|
||||
@@ -3,7 +3,4 @@ _?curses.color_pair
|
||||
termios.tcgetwinsize
|
||||
termios.tcsetwinsize
|
||||
xxlimited.Xxo.x_exports
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
mmap.MADV_FREE
|
||||
distutils.util.__warningregistry__
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
_?curses.A_ITALIC
|
||||
webbrowser.MacOSXOSAScript.__init__
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
mmap.MADV_FREE
|
||||
|
||||
# ==========
|
||||
# Allowlist entries that cannot or should not be fixed
|
||||
# ==========
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
_?curses.A_ITALIC
|
||||
webbrowser.MacOSXOSAScript.__init__
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
mmap.MADV_FREE
|
||||
|
||||
# ==========
|
||||
# Allowlist entries that cannot or should not be fixed
|
||||
# ==========
|
||||
|
||||
Reference in New Issue
Block a user