]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Updated reprlib's documentation to mention the renaming.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 16 May 2008 07:00:58 +0000 (07:00 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 16 May 2008 07:00:58 +0000 (07:00 +0000)
Doc/library/reprlib.rst

index 84fd6fb982915976cb0d10934221ce770545a3ac..030fda7cfba252b010af926e0f23353987c9bdaa 100644 (file)
@@ -2,10 +2,17 @@
 :mod:`reprlib` --- Alternate :func:`repr` implementation
 =====================================================
 
+.. module:: repr
+   :synopsis: Old name for the reprlib module.
 .. module:: reprlib
    :synopsis: Alternate repr() implementation with size limits.
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
 
+.. note::
+   The :mod:`repr` module has been renamed to :mod:`reprlib` in
+   Python 3.0.  It is importable under both names in Python 2.6
+   and the rest of the 2.x series.
+
 
 The :mod:`reprlib` module provides a means for producing object representations
 with limits on the size of the resulting strings. This is used in the Python