mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
Remove zlib.ZLIBNG_VERSION Windows requirement (#14947)
This commit is contained in:
1 parent
3f1cdc586d
commit
947ec497ec
2 files changed
+6
-2
No files matched your search
@@ -170,6 +170,10 @@ sys.ps1 # Available in interactive mode
|
||||
sys.ps2 # Available in interactive mode
|
||||
sys.tracebacklimit # Must be set first
|
||||
|
||||
# This is only present if Python was built with zlib-ng.
|
||||
(zlib\.ZLIBNG_VERSION)?
|
||||
(compression\.zlib\.ZLIBNG_VERSION)?
|
||||
|
||||
|
||||
# ==========================================================
|
||||
# Other allowlist entries that cannot or should not be fixed
|
||||
|
||||
+2
-2
@@ -26,8 +26,8 @@ Z_RLE: Final = 3
|
||||
Z_SYNC_FLUSH: Final = 2
|
||||
Z_TREES: Final = 6
|
||||
|
||||
if sys.version_info >= (3, 14) and sys.platform == "win32":
|
||||
# Available when zlib was built with zlib-ng, usually only on Windows
|
||||
if sys.version_info >= (3, 14):
|
||||
# Available when zlib was built with zlib-ng
|
||||
ZLIBNG_VERSION: Final[str]
|
||||
|
||||
class error(Exception): ...
|
||||
|
||||
Reference in new issue
Block a user