Skip to content

Commit bf42481

Browse files
authored
gh-149083: Use sentinel in functools.rst docs (#149176)
1 parent cc5f8b5 commit bf42481

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)