mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
typo - fixes 954030.
This commit is contained in:
parent
ac606ccb79
commit
2dc0c13840
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ pformat()
|
|||
Format a Python object into a pretty-printed representation.
|
||||
|
||||
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()
|
||||
Generate a 'standard' repr()-like value, but protect against recursive
|
||||
|
|
@ -49,7 +49,7 @@ _type = type
|
|||
|
||||
|
||||
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(
|
||||
stream=stream, indent=indent, width=width, depth=depth)
|
||||
printer.pprint(object)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue