summaryrefslogtreecommitdiffstats
path: root/Doc/reference
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/reference
parent9dc5bdddc052335d2a8edf94a1cc289ac8e4cdc9 (diff)
downloadcpython-e12dc28c3815b241b071b5ae4e7de7b9a5ee53a2.zip
cpython-e12dc28c3815b241b071b5ae4e7de7b9a5ee53a2.tar.gz
cpython-e12dc28c3815b241b071b5ae4e7de7b9a5ee53a2.tar.bz2
Fix markup.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 111ad8b..66dc180 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1807,7 +1807,7 @@ through the container; for mappings, :meth:`__iter__` should be the same as
.. method:: object.__length_hint__(self)
- Called to implement ``operator.length_hint``. Should return an estimated
+ Called to implement :func:`operator.length_hint`. Should return an estimated
length for the object (which may be greater or less than the actual length).
The length must be an integer ``>=`` 0. This method is purely an
optimization and is never required for correctness.