[Python-checkins] r63358 - python/trunk/Doc/library/reprlib.rst

alexandre.vassalotti python-checkins at python.org
Fri May 16 09:00:58 CEST 2008


Author: alexandre.vassalotti
Date: Fri May 16 09:00:58 2008
New Revision: 63358

Log:
Updated reprlib's documentation to mention the renaming.


Modified:
   python/trunk/Doc/library/reprlib.rst

Modified: python/trunk/Doc/library/reprlib.rst
==============================================================================
--- python/trunk/Doc/library/reprlib.rst	(original)
+++ python/trunk/Doc/library/reprlib.rst	Fri May 16 09:00:58 2008
@@ -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 at 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


More information about the Python-checkins mailing list