diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 07:00:58 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-16 07:00:58 (GMT) |
commit | 507462736d7df1a605557cdc597888ea784bf8e1 (patch) | |
tree | a0578cdfa19c904acc60a1229e2ec7955ff14aea | |
parent | 50a1acb2abafbe7b99ad57ca566c1ff9bb8abf0f (diff) | |
download | cpython-507462736d7df1a605557cdc597888ea784bf8e1.zip cpython-507462736d7df1a605557cdc597888ea784bf8e1.tar.gz cpython-507462736d7df1a605557cdc597888ea784bf8e1.tar.bz2 |
Updated reprlib's documentation to mention the renaming.
-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 |