Add os.EX_OK on Windows, Python 3.11+ (#10748)

This commit is contained in:
Amin Alaee
2023-09-22 13:51:22 +02:00
committed by GitHub
parent a76978b28f
commit 6dfa285230
3 changed files with 3 additions and 3 deletions

View File

@@ -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