diff --git a/pep-0424.txt b/pep-0424.txt index df086f27d..69c1bbaff 100644 --- a/pep-0424.txt +++ b/pep-0424.txt @@ -28,7 +28,7 @@ This PEP formally documents ``__length_hint__`` for other interpreters and non-standard-library Python modules to implement. ``__length_hint__`` must return an integer (else a TypeError is raised) or -``NotImplemented, and is not required to be accurate. It may return a value +``NotImplemented``, and is not required to be accurate. It may return a value that is either larger or smaller than the actual size of the container. A return value of ``NotImplemented`` indicates that there is no finite length estimate. It may not return a negative value (else a ValueError is raised).