Commit 50746273 authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Updated reprlib's documentation to mention the renaming.

parent 50a1acb2
...@@ -2,10 +2,17 @@ ...@@ -2,10 +2,17 @@
:mod:`reprlib` --- Alternate :func:`repr` implementation :mod:`reprlib` --- Alternate :func:`repr` implementation
===================================================== =====================================================
.. module:: repr
:synopsis: Old name for the reprlib module.
.. module:: reprlib .. module:: reprlib
:synopsis: Alternate repr() implementation with size limits. :synopsis: Alternate repr() implementation with size limits.
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org> .. 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 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 with limits on the size of the resulting strings. This is used in the Python
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment