mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Fix markup.
This commit is contained in:
parent
9dc5bdddc0
commit
e12dc28c38
2 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue