stdlib: add argument default values (#9501)

This commit is contained in:
Jelle Zijlstra
2023-01-18 00:37:34 -08:00
committed by GitHub
parent 6cb934291f
commit ddfaca3200
272 changed files with 2529 additions and 2467 deletions

View File

@@ -50,7 +50,7 @@ class Stats:
self: Self,
__arg: None | str | Profile | _cProfile = ...,
*args: None | str | Profile | _cProfile | Self,
stream: IO[Any] | None = ...,
stream: IO[Any] | None = None,
) -> None: ...
def init(self, arg: None | str | Profile | _cProfile) -> None: ...
def load_stats(self, arg: None | str | Profile | _cProfile) -> None: ...
@@ -74,6 +74,6 @@ class Stats:
def print_callees(self: Self, *amount: _Selector) -> Self: ...
def print_callers(self: Self, *amount: _Selector) -> Self: ...
def print_call_heading(self, name_size: int, column_title: str) -> None: ...
def print_call_line(self, name_size: int, source: str, call_dict: dict[str, Any], arrow: str = ...) -> None: ...
def print_call_line(self, name_size: int, source: str, call_dict: dict[str, Any], arrow: str = "->") -> None: ...
def print_title(self) -> None: ...
def print_line(self, func: str) -> None: ...