summaryrefslogtreecommitdiffstats
path: root/Doc/library/operator.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-10-07 09:09:36 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-10-07 09:09:36 (GMT)
commite12dc28c3815b241b071b5ae4e7de7b9a5ee53a2 (patch)
tree57cd89cfabd51df17e7dc5d5c50f749850ac8550 /Doc/library/operator.rst
parent9dc5bdddc052335d2a8edf94a1cc289ac8e4cdc9 (diff)
downloadcpython-e12dc28c3815b241b071b5ae4e7de7b9a5ee53a2.zip
cpython-e12dc28c3815b241b071b5ae4e7de7b9a5ee53a2.tar.gz
cpython-e12dc28c3815b241b071b5ae4e7de7b9a5ee53a2.tar.bz2
Fix markup.
Diffstat (limited to 'Doc/library/operator.rst')
-rw-r--r--Doc/library/operator.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst
index 1cd87fc..877a790 100644
--- a/Doc/library/operator.rst
+++ b/Doc/library/operator.rst
@@ -238,8 +238,8 @@ their character equivalents.
.. function:: length_hint(obj, default=0)
Return an estimated length for the object *o*. First trying to return its
- actual length, then an estimate using ``__length_hint__``, and finally
- returning the default value.
+ actual length, then an estimate using :meth:`object.__length_hint__`, and
+ finally returning the default value.
.. versionadded:: 3.4