mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
fix review idea
Signed-off-by: Manjusaka <me@manjusaka.me>
This commit is contained in:
parent
f6fe897c1d
commit
09b0bbb5a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue