summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 6031ca8..a5f580c 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -983,7 +983,7 @@ are always available. They are listed here in alphabetical order.
differently depending on the presence of the second argument. Without a
second argument, *object* must be a collection object which supports the
:term:`iterable` protocol (the :meth:`__iter__` method), or it must support
- the sequence protocol (the :meth:`__getitem__` method with integer arguments
+ the sequence protocol (the :meth:`~object.__getitem__` method with integer arguments
starting at ``0``). If it does not support either of those protocols,
:exc:`TypeError` is raised. If the second argument, *sentinel*, is given,
then *object* must be a callable object. The iterator created in this case
@@ -1563,7 +1563,7 @@ are always available. They are listed here in alphabetical order.
Return a reverse :term:`iterator`. *seq* must be an object which has
a :meth:`__reversed__` method or supports the sequence protocol (the
- :meth:`__len__` method and the :meth:`__getitem__` method with integer
+ :meth:`__len__` method and the :meth:`~object.__getitem__` method with integer
arguments starting at ``0``).