From: Alexandre Vassalotti Date: Fri, 16 May 2008 07:00:58 +0000 (+0000) Subject: Updated reprlib's documentation to mention the renaming. X-Git-Tag: v2.6b1~385 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=507462736d7df1a605557cdc597888ea784bf8e1;p=thirdparty%2FPython%2Fcpython.git Updated reprlib's documentation to mention the renaming. --- diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst index 84fd6fb98291..030fda7cfba2 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. +.. 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