diff --git a/peps/pep-0661.rst b/peps/pep-0661.rst index b172b827ba2..6c91efa42f5 100644 --- a/peps/pep-0661.rst +++ b/peps/pep-0661.rst @@ -2,11 +2,12 @@ PEP: 661 Title: Sentinel Values Author: Tal Einat , Jelle Zijlstra Discussions-To: https://discuss.python.org/t/pep-661-sentinel-values/9126 -Status: Draft +Status: Accepted Type: Standards Track Created: 06-Jun-2021 Python-Version: 3.15 Post-History: `20-May-2021 `__, `06-Jun-2021 `__ +Resolution: `23-Apr-2026 `__ Abstract @@ -258,7 +259,7 @@ C API ----- Sentinels can also be useful in C extensions. We propose two new -C API functions:: +C API functions: * ``PyObject *PySentinel_New(const char *name, const char *module_name)`` creates a new sentinel object. * ``bool PySentinel_Check(PyObject *obj)`` checks if an object is a sentinel.