diff --git a/doc/reference/indexing.qbk b/doc/reference/indexing.qbk index 0cfc7c7f..4f3a55cb 100644 --- a/doc/reference/indexing.qbk +++ b/doc/reference/indexing.qbk @@ -38,7 +38,7 @@ The `indexing_suite` class is the base class for the management of C++ container [[__iter__(self)] [This method is called when an iterator is required for a container. This method should return a new iterator object that can iterate over all the objects in the container. For mappings, it should iterate over the keys of the container, and should also be made available as the method iterkeys(). -Iterator objects also need to implement this method; they are required to return themselves. For more information on iterator objects, see [@http://www.python.org/doc/current/lib/typeiter.html Iterator Types] in the [@http://www.python.org/doc/current/lib/lib.html Python Library Reference].]] +Iterator objects also need to implement this method; they are required to return themselves. For more information on iterator objects, see [@https://docs.python.org/3/library/stdtypes.html#iterator-types Iterator Types] in the [@https://docs.python.org/3/library/index.html Python Library Reference].]] [[__contains__(self, item)] [Called to implement membership test operators. Should return true if item is in self, false otherwise. For mapping objects, this should consider the keys of the mapping rather than the values or the key-item pairs.]]