summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-05-14 16:31:56 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-05-14 16:31:56 (GMT)
commit2dc0c138400cb562fbf10632a11a1703d99973e2 (patch)
treeb363b2bff35accfd485ed596873877eee0a867d1
parentac606ccb796929c22b6cd24040ab174a1a69f945 (diff)
downloadcpython-2dc0c138400cb562fbf10632a11a1703d99973e2.zip
cpython-2dc0c138400cb562fbf10632a11a1703d99973e2.tar.gz
cpython-2dc0c138400cb562fbf10632a11a1703d99973e2.tar.bz2
typo - fixes 954030.
-rw-r--r--Lib/pprint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pprint.py b/Lib/pprint.py
index 716f35d..e92b639 100644
--- a/Lib/pprint.py
+++ b/Lib/pprint.py
@@ -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)