mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
Add os.EX_OK on Windows, Python 3.11+ (#10748)
This commit is contained in:
@@ -252,12 +252,14 @@ environ: _Environ[str]
|
||||
if sys.platform != "win32":
|
||||
environb: _Environ[bytes]
|
||||
|
||||
if sys.version_info >= (3, 11) or sys.platform != "win32":
|
||||
EX_OK: int
|
||||
|
||||
if sys.platform != "win32":
|
||||
confstr_names: dict[str, int]
|
||||
pathconf_names: dict[str, int]
|
||||
sysconf_names: dict[str, int]
|
||||
|
||||
EX_OK: int
|
||||
EX_USAGE: int
|
||||
EX_DATAERR: int
|
||||
EX_NOINPUT: int
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
asyncio.IocpProactor.recvfrom_into
|
||||
asyncio.windows_events.IocpProactor.recvfrom_into
|
||||
msvcrt.GetErrorMode
|
||||
os.EX_OK
|
||||
|
||||
# pathlib methods that exist on Windows, but always raise NotImplementedError,
|
||||
# so are omitted from the stub
|
||||
|
||||
@@ -5,7 +5,6 @@ asyncio.windows_events.IocpProactor.finish_socket_func
|
||||
asyncio.windows_events.IocpProactor.recvfrom_into
|
||||
msvcrt.GetErrorMode
|
||||
ntpath.isdir
|
||||
os.EX_OK
|
||||
os.get_blocking
|
||||
os.listdrives
|
||||
os.listmounts
|
||||
|
||||
Reference in New Issue
Block a user