fix review idea

Signed-off-by: Manjusaka <me@manjusaka.me>
This commit is contained in:
Manjusaka 2025-12-14 03:36:41 +08:00
parent f6fe897c1d
commit 09b0bbb5a6
No known key found for this signature in database
GPG key ID: 878F445D9C6CE65E

View file

@ -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.