Commit 2dc0c138 authored by Skip Montanaro's avatar Skip Montanaro

typo - fixes 954030.

parent ac606ccb
...@@ -26,7 +26,7 @@ pformat() ...@@ -26,7 +26,7 @@ pformat()
Format a Python object into a pretty-printed representation. Format a Python object into a pretty-printed representation.
pprint() pprint()
Pretty-print a Python object to a stream [default is sys.sydout]. Pretty-print a Python object to a stream [default is sys.stdout].
saferepr() saferepr()
Generate a 'standard' repr()-like value, but protect against recursive Generate a 'standard' repr()-like value, but protect against recursive
...@@ -49,7 +49,7 @@ _type = type ...@@ -49,7 +49,7 @@ _type = type
def pprint(object, stream=None, indent=1, width=80, depth=None): def pprint(object, stream=None, indent=1, width=80, depth=None):
"""Pretty-print a Python object to a stream [default is sys.sydout].""" """Pretty-print a Python object to a stream [default is sys.stdout]."""
printer = PrettyPrinter( printer = PrettyPrinter(
stream=stream, indent=indent, width=width, depth=depth) stream=stream, indent=indent, width=width, depth=depth)
printer.pprint(object) printer.pprint(object)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment