mirror of https://github.com/python/cpython
Updated reprlib's documentation to mention the renaming.
This commit is contained in:
parent
50a1acb2ab
commit
507462736d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue