Skip to content

Commit 8a6075f

Browse files
authored
[pprint] Add missing default values (#14453)
1 parent c97c3f0 commit 8a6075f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

stdlib/pprint.pyi

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@ else:
2929
if sys.version_info >= (3, 10):
3030
def pp(
3131
object: object,
32-
stream: IO[str] | None = ...,
33-
indent: int = ...,
34-
width: int = ...,
35-
depth: int | None = ...,
32+
stream: IO[str] | None = None,
33+
indent: int = 1,
34+
width: int = 80,
35+
depth: int | None = None,
3636
*,
37-
compact: bool = ...,
37+
compact: bool = False,
3838
sort_dicts: bool = False,
39-
underscore_numbers: bool = ...,
39+
underscore_numbers: bool = False,
4040
) -> None: ...
4141

4242
else:
4343
def pp(
4444
object: object,
45-
stream: IO[str] | None = ...,
46-
indent: int = ...,
47-
width: int = ...,
48-
depth: int | None = ...,
45+
stream: IO[str] | None = None,
46+
indent: int = 1,
47+
width: int = 80,
48+
depth: int | None = None,
4949
*,
50-
compact: bool = ...,
50+
compact: bool = False,
5151
sort_dicts: bool = False,
5252
) -> None: ...
5353

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy