From 507462736d7df1a605557cdc597888ea784bf8e1 Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Fri, 16 May 2008 07:00:58 +0000 Subject: [PATCH] Updated reprlib's documentation to mention the renaming. --- Doc/library/reprlib.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/library/reprlib.rst b/Doc/library/reprlib.rst index 84fd6fb9829..030fda7cfba 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