summaryrefslogtreecommitdiffstats
path: root/Doc/library/repr.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-07-26 14:19:57 (GMT)
committerGeorg Brandl <georg@python.org>2009-07-26 14:19:57 (GMT)
commit9fa61bb37d68225c827aa7809382ea701c264db5 (patch)
tree7a086015c9e4ecbb02ad38895cf7dcc4cb7be605 /Doc/library/repr.rst
parent74f8fc0b1bccc971a3055b2e364c4a2db5123d50 (diff)
downloadcpython-9fa61bb37d68225c827aa7809382ea701c264db5.zip
cpython-9fa61bb37d68225c827aa7809382ea701c264db5.tar.gz
cpython-9fa61bb37d68225c827aa7809382ea701c264db5.tar.bz2
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
Diffstat (limited to 'Doc/library/repr.rst')
-rw-r--r--Doc/library/repr.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/repr.rst b/Doc/library/repr.rst
index 2b75257..78284f0 100644
--- a/Doc/library/repr.rst
+++ b/Doc/library/repr.rst
@@ -27,16 +27,16 @@ This module provides a class, an instance, and a function:
.. data:: aRepr
- This is an instance of :class:`Repr` which is used to provide the :func:`repr`
+ This is an instance of :class:`Repr` which is used to provide the :func:`.repr`
function described below. Changing the attributes of this object will affect
- the size limits used by :func:`repr` and the Python debugger.
+ the size limits used by :func:`.repr` and the Python debugger.
.. function:: repr(obj)
- This is the :meth:`repr` method of ``aRepr``. It returns a string similar to
- that returned by the built-in function of the same name, but with limits on
- most sizes.
+ This is the :meth:`~Repr.repr` method of ``aRepr``. It returns a string
+ similar to that returned by the built-in function of the same name, but with
+ limits on most sizes.
.. _repr-objects:
@@ -99,7 +99,7 @@ which format specific object types.
.. method:: Repr.repr1(obj, level)
- Recursive implementation used by :meth:`repr`. This uses the type of *obj* to
+ Recursive implementation used by :meth:`.repr`. This uses the type of *obj* to
determine which formatting method to call, passing it *obj* and *level*. The
type-specific methods should call :meth:`repr1` to perform recursive formatting,
with ``level - 1`` for the value of *level* in the recursive call.