gh-149083: Use sentinel in functools.rst docs (#149176)

This commit is contained in:
sobolevn 2026-04-30 19:18:56 +03:00 committed by GitHub
parent cc5f8b5434
commit bf424816d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -468,7 +468,7 @@ The :mod:`!functools` module defines the following functions:
Roughly equivalent to::
initial_missing = object()
initial_missing = sentinel('initial_missing')
def reduce(function, iterable, /, initial=initial_missing):
it = iter(iterable)