diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-23 05:03:59 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-23 05:03:59 (GMT) |
commit | 2ee0e8eaec7f6e87664c2c9297633623cbd28868 (patch) | |
tree | cf9b7d1f858bcaf09e4b10769cfe2359283a3ab9 /Doc/tutorial/stdlib2.rst | |
parent | 778d5cc4fb938a37383373ff27457831bc6aea63 (diff) | |
download | cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.zip cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.gz cpython-2ee0e8eaec7f6e87664c2c9297633623cbd28868.tar.bz2 |
Revert the renaming of repr to reprlib.
Diffstat (limited to 'Doc/tutorial/stdlib2.rst')
-rw-r--r-- | Doc/tutorial/stdlib2.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst index 79044f9..9da5213 100644 --- a/Doc/tutorial/stdlib2.rst +++ b/Doc/tutorial/stdlib2.rst @@ -13,11 +13,11 @@ programming needs. These modules rarely occur in small scripts. Output Formatting ================= -The :mod:`reprlib` module provides a version of :func:`repr` customized for +The :mod:`repr` module provides a version of :func:`repr` customized for abbreviated displays of large or deeply nested containers:: - >>> import reprlib - >>> reprlib.repr(set('supercalifragilisticexpialidocious')) + >>> import repr + >>> repr.repr(set('supercalifragilisticexpialidocious')) "set(['a', 'c', 'd', 'e', 'f', 'g', ...])" The :mod:`pprint` module offers more sophisticated control over printing both |