massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / profile.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/profile.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/profile.pyi
new file mode 100644 (file)
index 0000000..80b3af9
--- /dev/null
@@ -0,0 +1,21 @@
+from typing import Any, Callable, Dict, Optional, TypeVar\r
+\r
+def run(statement: str, filename: Optional[str] = ..., sort: int = ...) -> None: ...\r
+def runctx(statement: str, globals: Dict[str, Any], locals: Dict[str, Any], filename: Optional[str] = ..., sort: int = ...) -> None: ...\r
+\r
+_SelfT = TypeVar('_SelfT', bound='Profile')\r
+_T = TypeVar('_T')\r
+\r
+class Profile:\r
+    def __init__(self, timer: Optional[Callable[[], float]] = ..., bias: Optional[int] = ...) -> None: ...\r
+    def set_cmd(self, cmd: str) -> None: ...\r
+    def simulate_call(self, name: str) -> None: ...\r
+    def simulate_cmd_complete(self) -> None: ...\r
+    def print_stats(self, sort: int = ...) -> None: ...\r
+    def dump_stats(self, file: str) -> None: ...\r
+    def create_stats(self) -> None: ...\r
+    def snapshot_stats(self) -> None: ...\r
+    def run(self: _SelfT, cmd: str) -> _SelfT: ...\r
+    def runctx(self: _SelfT, cmd: str, globals: Dict[str, Any], locals: Dict[str, Any]) -> _SelfT: ...\r
+    def runcall(self, func: Callable[..., _T], *args: Any, **kw: Any) -> _T: ...\r
+    def calibrate(self, m: int, verbose: int = ...) -> float: ...\r