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

View File

@@ -1,4 +1,3 @@
import sys
from _typeshed import StrOrBytesPath, Unused
from collections.abc import Callable
from types import CodeType
@@ -30,8 +29,7 @@ class Profile:
def run(self, cmd: str) -> Self: ...
def runctx(self, cmd: str, globals: dict[str, Any], locals: dict[str, Any]) -> Self: ...
def runcall(self, __func: Callable[_P, _T], *args: _P.args, **kw: _P.kwargs) -> _T: ...
if sys.version_info >= (3, 8):
def __enter__(self) -> Self: ...
def __exit__(self, *exc_info: Unused) -> None: ...
def __enter__(self) -> Self: ...
def __exit__(self, *exc_info: Unused) -> None: ...
def label(code: str | CodeType) -> _Label: ... # undocumented