mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-10 15:25:49 +08:00
Support Python 3.14 (#13957)
This commit is contained in:
1 parent
519b7ef021
commit
2d50d6b316
21 files changed
+1082
-34
No files matched your search
@@ -185,6 +185,11 @@ else:
|
||||
_TypeVarTuple: TypeAlias = Never
|
||||
_TypeAlias: TypeAlias = Never
|
||||
|
||||
if sys.version_info >= (3, 14):
|
||||
_NameConstant: TypeAlias = Never
|
||||
else:
|
||||
_NameConstant: TypeAlias = ast.NameConstant
|
||||
|
||||
class Checker:
|
||||
nodeDepth: int
|
||||
offset: tuple[int, int] | None
|
||||
@@ -254,7 +259,7 @@ class Checker:
|
||||
def SET(self, tree: ast.Set, omit: _OmitType = None) -> None: ...
|
||||
def ATTRIBUTE(self, tree: ast.Attribute, omit: _OmitType = None) -> None: ...
|
||||
def STARRED(self, tree: ast.Starred, omit: _OmitType = None) -> None: ...
|
||||
def NAMECONSTANT(self, tree: ast.NameConstant, omit: _OmitType = None) -> None: ...
|
||||
def NAMECONSTANT(self, tree: _NameConstant, omit: _OmitType = None) -> None: ...
|
||||
def NAMEDEXPR(self, tree: ast.NamedExpr, omit: _OmitType = None) -> None: ...
|
||||
def SUBSCRIPT(self, node: ast.Subscript) -> None: ...
|
||||
def CALL(self, node: ast.Call) -> None: ...
|
||||
|
||||
Reference in new issue
Block a user