summaryrefslogtreecommitdiffstats
path: root/Doc/library/repr.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-02-14 19:10:39 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-02-14 19:10:39 (GMT)
commit93cd25d0a89790eb2530ce7664a285889ada7833 (patch)
tree3f12ec504de121873bd2bc62c5b596769d35d2ee /Doc/library/repr.rst
parente789a1d866b279e20fe3426732cf681b5b44e96a (diff)
downloadcpython-93cd25d0a89790eb2530ce7664a285889ada7833.zip
cpython-93cd25d0a89790eb2530ce7664a285889ada7833.tar.gz
cpython-93cd25d0a89790eb2530ce7664a285889ada7833.tar.bz2
fix links to builtin repr function (closes #20573)
Diffstat (limited to 'Doc/library/repr.rst')
-rw-r--r--Doc/library/repr.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/library/repr.rst b/Doc/library/repr.rst
index a9280bb..b604186 100644
--- a/Doc/library/repr.rst
+++ b/Doc/library/repr.rst
@@ -24,8 +24,9 @@ This module provides a class, an instance, and a function:
.. class:: Repr()
Class which provides formatting services useful in implementing functions
- similar to the built-in :func:`repr`; size limits for different object types
- are added to avoid the generation of representations which are excessively long.
+ similar to the built-in :ref:`repr() <func-repr>`; size limits for different
+ object types are added to avoid the generation of representations which are
+ excessively long.
.. data:: aRepr
@@ -96,8 +97,8 @@ which format specific object types.
.. method:: Repr.repr(obj)
- The equivalent to the built-in :func:`repr` that uses the formatting imposed by
- the instance.
+ The equivalent to the built-in :ref:`repr() <func-repr>` that uses the
+ formatting imposed by the instance.
.. method:: Repr.repr1(obj, level)