From 2ee0e8eaec7f6e87664c2c9297633623cbd28868 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 23 May 2008 05:03:59 +0000 Subject: Revert the renaming of repr to reprlib. --- Doc/tutorial/stdlib2.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Doc/tutorial/stdlib2.rst') diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst index 79044f945d..9da521355b 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 -- cgit v1.2.1