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