Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions stdlib/pprint.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ __all__ = ["pprint", "pformat", "isreadable", "isrecursive", "saferepr", "Pretty
if sys.version_info >= (3, 15):
def pformat(
object: object,
indent: int = 4,
width: int = 88,
indent: int = 1,
width: int = 80,
depth: int | None = None,
*,
compact: bool = False,
expand: bool = False,
sort_dicts: bool = True,
underscore_numbers: bool = False,
) -> str: ...
Expand All @@ -33,11 +34,12 @@ if sys.version_info >= (3, 15):
def pp(
object: object,
stream: IO[str] | None = None,
indent: int = 4,
width: int = 88,
indent: int = 1,
width: int = 80,
depth: int | None = None,
*,
compact: bool = False,
expand: bool = False,
sort_dicts: bool = False,
underscore_numbers: bool = False,
) -> None: ...
Expand All @@ -59,11 +61,12 @@ if sys.version_info >= (3, 15):
def pprint(
object: object,
stream: IO[str] | None = None,
indent: int = 4,
width: int = 88,
indent: int = 1,
width: int = 80,
depth: int | None = None,
*,
compact: bool = False,
expand: bool = False,
sort_dicts: bool = True,
underscore_numbers: bool = False,
) -> None: ...
Expand All @@ -89,12 +92,13 @@ class PrettyPrinter:
if sys.version_info >= (3, 15):
def __init__(
self,
indent: int = 4,
width: int = 88,
indent: int = 1,
width: int = 80,
depth: int | None = None,
stream: IO[str] | None = None,
*,
compact: bool = False,
expand: bool = False,
sort_dicts: bool = True,
underscore_numbers: bool = False,
) -> None: ...
Expand Down
Loading