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
+1 -1
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)