Grammar fix.
This commit is contained in:
parent
03909e4c50
commit
9f0aa85c25
|
@ -34,7 +34,7 @@ return value of ``NotImplemented`` indicates that there is no finite length
|
|||
estimate. It may not return a negative value (else a ValueError is raised).
|
||||
|
||||
In addition, a new function ``operator.length_hint`` hint is added,
|
||||
with the follow semantics (which define how ``__length_hint__`` should
|
||||
with the following semantics (which define how ``__length_hint__`` should
|
||||
be used)::
|
||||
|
||||
def length_hint(obj, default=0):
|
||||
|
|
Loading…
Reference in New Issue