]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes #17661: fix references to repr() going to module repr.
authorGeorg Brandl <georg@python.org>
Sun, 14 Apr 2013 08:36:03 +0000 (10:36 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 14 Apr 2013 08:36:03 +0000 (10:36 +0200)
Doc/library/stdtypes.rst

index 5d6d35343e01148c12732a5af16a335dc4c7d197..1292e9bfd416f0d6c0959225606c386bfaef5211 100644 (file)
@@ -26,7 +26,7 @@ instances and exceptions.
 
 Some operations are supported by several object types; in particular,
 practically all objects can be compared, tested for truth value, and converted
-to a string (with the :func:`repr` function or the slightly different
+to a string (with the :ref:`repr() <func-repr>` function or the slightly different
 :func:`str` function).  The latter function is implicitly used when an object is
 written by the :func:`print` function.
 
@@ -1452,7 +1452,7 @@ The conversion types are:
 |            | character string).                                  |       |
 +------------+-----------------------------------------------------+-------+
 | ``'r'``    | String (converts any Python object using            | \(5)  |
-|            | :func:`repr`).                                      |       |
+|            | :ref:`repr() <func-repr>`).                         |       |
 +------------+-----------------------------------------------------+-------+
 | ``'s'``    | String (converts any Python object using            | \(6)  |
 |            | :func:`str`).                                       |       |