From 09b0bbb5a65aa18b6213a9624ed6efca720ebcf9 Mon Sep 17 00:00:00 2001 From: Manjusaka Date: Sun, 14 Dec 2025 03:36:41 +0800 Subject: [PATCH] fix review idea Signed-off-by: Manjusaka --- Doc/library/annotationlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/annotationlib.rst b/Doc/library/annotationlib.rst index 005f75d6acf..5705a01164b 100644 --- a/Doc/library/annotationlib.rst +++ b/Doc/library/annotationlib.rst @@ -383,7 +383,7 @@ Functions doesn't have its own annotations dict, returns an empty dict. * All accesses to object members and dict values are done using ``getattr()`` and ``dict.get()`` for safety. - * Supports objects that provide their own :attr:`~object.__annotate__` attribute, + * Supports objects that provide their own :attr:`~object.__annotate__` descriptor, such as :class:`functools.partial` and :class:`functools.partialmethod`. See the :mod:`functools` module documentation for details on how these objects support annotations.