summaryrefslogtreecommitdiff
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-16 07:12:44 +0000
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-16 07:12:44 +0000
commit1f2ba4b6dad80f97aeecb5be8f35f44ca792c983 (patch)
treedc2c356b160e3769dc758b55f72eba4bdf2ec652 /Doc/tutorial
parentcdc11337a221d45d40989bc256dd6cd0eb4b6371 (diff)
downloadcpython-git-1f2ba4b6dad80f97aeecb5be8f35f44ca792c983.tar.gz
Rename the repr module to reprlib.
Merged revisions 63357 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63357 | alexandre.vassalotti | 2008-05-16 02:58:49 -0400 (Fri, 16 May 2008) | 2 lines Changed references to the reprlib module to use its new name. ........
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/stdlib2.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst
index d519fc439e..33bc47a0d6 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:`repr` module provides a version of :func:`repr` customized for
+The :mod:`reprlib` module provides a version of :func:`repr` customized for
abbreviated displays of large or deeply nested containers::
- >>> import repr
- >>> repr.repr(set('supercalifragilisticexpialidocious'))
+ >>> import reprlib
+ >>> reprlib.repr(set('supercalifragilisticexpialidocious'))
"set(['a', 'c', 'd', 'e', 'f', 'g', ...])"
The :mod:`pprint` module offers more sophisticated control over printing both