diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-19 00:14:03 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-19 00:14:03 (GMT) |
commit | 29a0b57e4ed19532dc78dbf08b957c85bfbafbd6 (patch) | |
tree | b7fae5150cb2e44679947e109e68eb2a05076f7d /Doc/library/repr.rst | |
parent | d478a46d563413d51a730678e4c72a54d2881123 (diff) | |
download | cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.zip cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.tar.gz cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.tar.bz2 |
Backport source links from 3.x.
Existing links have been updated to use the new reST role. In some
files, I have also made cosmetic changes to the header.
Diffstat (limited to 'Doc/library/repr.rst')
-rw-r--r-- | Doc/library/repr.rst | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Doc/library/repr.rst b/Doc/library/repr.rst index b4e03ff..11e6ae2 100644 --- a/Doc/library/repr.rst +++ b/Doc/library/repr.rst @@ -1,4 +1,3 @@ - :mod:`repr` --- Alternate :func:`repr` implementation ===================================================== @@ -11,15 +10,14 @@ :term:`2to3` tool will automatically adapt imports when converting your sources to 3.0. +**Source code:** :source:`Lib/repr.py` + +-------------- + The :mod:`repr` module provides a means for producing object representations with limits on the size of the resulting strings. This is used in the Python debugger and may be useful in other contexts as well. -.. seealso:: - - Latest version of the `repr module Python source code - <http://svn.python.org/view/python/branches/release27-maint/Lib/repr.py?view=markup>`_ - This module provides a class, an instance, and a function: |