mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-13 03:21:07 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user