[Python-checkins] cpython (2.7): Closes #17661: fix references to repr() going to module repr.

georg.brandl python-checkins at python.org
Sun Apr 14 10:35:44 CEST 2013


http://hg.python.org/cpython/rev/dd5e7aef4d5b
changeset:   83333:dd5e7aef4d5b
branch:      2.7
parent:      83330:ab35b5e81317
user:        Georg Brandl <georg at python.org>
date:        Sun Apr 14 10:36:03 2013 +0200
summary:
  Closes #17661: fix references to repr() going to module repr.

files:
  Doc/library/stdtypes.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -26,7 +26,7 @@
 
 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 @@
 |            | 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`).                                       |       |

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list