mirror of
https://github.com/python/cpython.git
synced 2026-05-04 09:31:02 +00:00
gh-149083: Use sentinel in functools.rst docs (#149176)
This commit is contained in:
parent
cc5f8b5434
commit
bf424816d0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue