mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from _typeshed import StrOrBytesPath
|
||||
from typing import Any, Callable, Dict, Tuple, TypeVar
|
||||
from typing import Any, Callable, Tuple, TypeVar
|
||||
|
||||
def run(statement: str, filename: str | None = ..., sort: str | int = ...) -> None: ...
|
||||
def runctx(
|
||||
statement: str, globals: Dict[str, Any], locals: Dict[str, Any], filename: str | None = ..., sort: str | int = ...
|
||||
statement: str, globals: dict[str, Any], locals: dict[str, Any], filename: str | None = ..., sort: str | int = ...
|
||||
) -> None: ...
|
||||
|
||||
_SelfT = TypeVar("_SelfT", bound=Profile)
|
||||
@@ -22,6 +22,6 @@ class Profile:
|
||||
def create_stats(self) -> None: ...
|
||||
def snapshot_stats(self) -> None: ...
|
||||
def run(self: _SelfT, cmd: str) -> _SelfT: ...
|
||||
def runctx(self: _SelfT, cmd: str, globals: Dict[str, Any], locals: Dict[str, Any]) -> _SelfT: ...
|
||||
def runctx(self: _SelfT, cmd: str, globals: dict[str, Any], locals: dict[str, Any]) -> _SelfT: ...
|
||||
def runcall(self, __func: Callable[..., _T], *args: Any, **kw: Any) -> _T: ...
|
||||
def calibrate(self, m: int, verbose: int = ...) -> float: ...
|
||||
|
||||
Reference in New Issue
Block a user