mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
pstats: Add default value for kwarg (#905)
According to python library docs, pstats.Stats.__init__ has a keyword argument `stream' whose default value is `sys.stdout`.
This commit is contained in:
committed by
Jukka Lehtosalo
parent
0e9ad51882
commit
bc092ded69
@@ -8,7 +8,7 @@ _T = TypeVar('_T', bound='Stats')
|
||||
class Stats:
|
||||
def __init__(self: _T, __arg: Union[None, str, Text, Profile, cProfile] = ...,
|
||||
*args: Union[None, str, Text, Profile, cProfile, _T],
|
||||
stream: IO[Any]) -> None: ...
|
||||
stream: IO[Any] = ...) -> None: ...
|
||||
def init(self, arg: Union[None, str, Text, Profile, cProfile]) -> None: ...
|
||||
def load_stats(self, arg: Union[None, str, Text, Profile, cProfile]) -> None: ...
|
||||
def get_top_level_stats(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user