]> granicus.if.org Git - python/commitdiff
fix links to builtin repr function (closes #20573)
authorBenjamin Peterson <benjamin@python.org>
Fri, 14 Feb 2014 19:10:39 +0000 (14:10 -0500)
committerBenjamin Peterson <benjamin@python.org>
Fri, 14 Feb 2014 19:10:39 +0000 (14:10 -0500)
Doc/library/repr.rst

index a9280bb4312bf6f88b5c57b0331cd312e5dc3fe9..b60418613b06a89b2c4741f9d9f737541149cc04 100644 (file)
@@ -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)