diff Doc/tutorial/stdlib2.rst @ 47088:4f1a079df427

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. ........
author Alexandre Vassalotti <alexandre@peadrop.com>
date Fri, 16 May 2008 07:12:44 +0000
parents bd2c95c165ea
children f28cbab11acd
line wrap: on
line diff
--- a/Doc/tutorial/stdlib2.rst	Fri May 16 07:01:44 2008 +0000
+++ b/Doc/tutorial/stdlib2.rst	Fri May 16 07:12:44 2008 +0000
@@ -13,11 +13,11 @@
 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