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:
Eklavya Sharma
2017-01-31 17:12:14 +05:30
committed by Jukka Lehtosalo
parent 0e9ad51882
commit bc092ded69

View File

@@ -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: ...