mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-10 02:19:18 +08:00
Fix errors when type checking stdlib with Python 3.14 (#13977)
This commit is contained in:
+3
-1
@@ -37,7 +37,6 @@ __all__ = [
|
||||
"AsyncIterator",
|
||||
"Awaitable",
|
||||
"BinaryIO",
|
||||
"ByteString",
|
||||
"Callable",
|
||||
"ChainMap",
|
||||
"ClassVar",
|
||||
@@ -106,6 +105,9 @@ __all__ = [
|
||||
"runtime_checkable",
|
||||
]
|
||||
|
||||
if sys.version_info < (3, 14):
|
||||
__all__ += ["ByteString"]
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
__all__ += ["Concatenate", "ParamSpec", "ParamSpecArgs", "ParamSpecKwargs", "TypeAlias", "TypeGuard", "is_typeddict"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user