1 from typing import Any, Callable, Dict, Optional, TypeVar
\r
3 def run(statement: str, filename: Optional[str] = ..., sort: int = ...) -> None: ...
\r
4 def runctx(statement: str, globals: Dict[str, Any], locals: Dict[str, Any], filename: Optional[str] = ..., sort: int = ...) -> None: ...
\r
6 _SelfT = TypeVar('_SelfT', bound='Profile')
\r
10 def __init__(self, custom_timer: Callable[[], float] = ..., time_unit: float = ..., subcalls: bool = ..., builtins: bool = ...) -> None: ...
\r
11 def enable(self) -> None: ...
\r
12 def disable(self) -> None: ...
\r
13 def print_stats(self, sort: int = ...) -> None: ...
\r
14 def dump_stats(self, file: str) -> None: ...
\r
15 def create_stats(self) -> None: ...
\r
16 def run(self: _SelfT, cmd: str) -> _SelfT: ...
\r
17 def runctx(self: _SelfT, cmd: str, globals: Dict[str, Any], locals: Dict[str, Any]) -> _SelfT: ...
\r
18 def runcall(self, func: Callable[..., _T], *args: Any, **kw: Any) -> _T: ...
\r