From bc092ded69a95042775426ed60851a5c6d3e49e4 Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Tue, 31 Jan 2017 17:12:14 +0530 Subject: [PATCH] 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`. --- stdlib/2and3/pstats.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2and3/pstats.pyi b/stdlib/2and3/pstats.pyi index 9a872c2dd..2d70f8859 100644 --- a/stdlib/2and3/pstats.pyi +++ b/stdlib/2and3/pstats.pyi @@ -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: ...