Remove Python 3.7 branches (#11238)

This commit is contained in:
Sebastian Rittau
2024-01-05 11:39:39 +01:00
committed by GitHub
parent 4e62577002
commit 23604858a6
122 changed files with 1952 additions and 3800 deletions
+1 -6
View File
@@ -142,11 +142,6 @@ class AnnotationState:
def in_annotation(func: _F) -> _F: ...
def in_string_annotation(func: _F) -> _F: ...
if sys.version_info >= (3, 8):
_NamedExpr: TypeAlias = ast.NamedExpr
else:
_NamedExpr: TypeAlias = Any
if sys.version_info >= (3, 10):
_Match: TypeAlias = ast.Match
_MatchCase: TypeAlias = ast.match_case
@@ -247,7 +242,7 @@ class Checker:
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 NAMEDEXPR(self, tree: _NamedExpr, 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: ...
def BINOP(self, node: ast.BinOp) -> None: ...