summaryrefslogtreecommitdiffstats
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-04-14 08:36:03 (GMT)
committerGeorg Brandl <georg@python.org>2013-04-14 08:36:03 (GMT)
commit827372e46b5285de52d045c521d49aa1d2d385f3 (patch)
tree582b1f1a877753d6dc88decb0cf9429718880370 /Doc/library/stdtypes.rst
parentdc18cb963bf91fbb3155a4afddfca26bca8861cc (diff)
downloadcpython-827372e46b5285de52d045c521d49aa1d2d385f3.zip
cpython-827372e46b5285de52d045c521d49aa1d2d385f3.tar.gz
cpython-827372e46b5285de52d045c521d49aa1d2d385f3.tar.bz2
Closes #17661: fix references to repr() going to module repr.
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 5d6d353..1292e9b 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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`). | |