Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2dc0c13

Browse files
author
Skip Montanaro
committed
typo - fixes 954030.
1 parent ac606cc commit 2dc0c13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/pprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
Format a Python object into a pretty-printed representation.
2727
2828
pprint()
29-
Pretty-print a Python object to a stream [default is sys.sydout].
29+
Pretty-print a Python object to a stream [default is sys.stdout].
3030
3131
saferepr()
3232
Generate a 'standard' repr()-like value, but protect against recursive
@@ -49,7 +49,7 @@
4949

5050

5151
def pprint(object, stream=None, indent=1, width=80, depth=None):
52-
"""Pretty-print a Python object to a stream [default is sys.sydout]."""
52+
"""Pretty-print a Python object to a stream [default is sys.stdout]."""
5353
printer = PrettyPrinter(
5454
stream=stream, indent=indent, width=width, depth=depth)
5555
printer.pprint(object)

0 commit comments

Comments
 (0)