diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/reprlib.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst index 84fd6fb..030fda7 100644 --- a/Doc/library/reprlib.rst +++ b/Doc/library/reprlib.rst @@ -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 |