Skip to content

Commit fde28d2

Browse files
zoobawebsurfer5
authored andcommitted
bpo-37913: Link to NotImplemented from new docs (pythonGH-15860)
1 parent 3836e01 commit fde28d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/reference/datamodel.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,9 +2156,9 @@ through the container; for mappings, :meth:`__iter__` should be the same as
21562156
Called to implement :func:`operator.length_hint`. Should return an estimated
21572157
length for the object (which may be greater or less than the actual length).
21582158
The length must be an integer ``>=`` 0. The return value may also be
2159-
*NotImplemented*, which is treated the same as if the ``__length_hint__``
2160-
method didn't exist at all. This method is purely an optimization and is
2161-
never required for correctness.
2159+
:const:`NotImplemented`, which is treated the same as if the
2160+
``__length_hint__`` method didn't exist at all. This method is purely an
2161+
optimization and is never required for correctness.
21622162

21632163
.. versionadded:: 3.4
21642164

0 commit comments

Comments
 (0)