From bf424816d0643a4c4566f2e33dc4e1beb5ec875c Mon Sep 17 00:00:00 2001 From: sobolevn Date: Thu, 30 Apr 2026 19:18:56 +0300 Subject: [PATCH] gh-149083: Use `sentinel` in `functools.rst` docs (#149176) --- Doc/library/functools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 265610db3ca..7da59cba517 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -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)