diff options
Diffstat (limited to 'Doc/library/operator.rst')
-rw-r--r-- | Doc/library/operator.rst | 4 |
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 |