Updated reprlib's documentation to mention the renaming.

This commit is contained in:
Alexandre Vassalotti 2008-05-16 07:00:58 +00:00
parent 50a1acb2ab
commit 507462736d
1 changed files with 7 additions and 0 deletions

View 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