Skip to content

Commit 23be0ac

Browse files
committed
gh-149083: Use sentinel in functool.rst docs
1 parent 234c12c commit 23be0ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/functools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ The :mod:`!functools` module defines the following functions:
468468

469469
Roughly equivalent to::
470470

471-
initial_missing = object()
471+
initial_missing = sentinel('initial_missing')
472472

473473
def reduce(function, iterable, /, initial=initial_missing):
474474
it = iter(iterable)

0 commit comments

Comments
 (0)