Skip to content

Commit 7cddaca

Browse files
Zheaolimerwok
andauthored
Update Doc/library/annotationlib.rst
Co-authored-by: Éric <merwok@netwok.org>
1 parent c82fb7e commit 7cddaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/annotationlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ Functions
383383
doesn't have its own annotations dict, returns an empty dict.
384384
* All accesses to object members and dict values are done
385385
using ``getattr()`` and ``dict.get()`` for safety.
386-
* Supports objects that provide their own :attr:`~object.__annotate__` method,
386+
* Supports objects that provide their own :attr:`~object.__annotate__` attribute,
387387
such as :class:`functools.partial` and :class:`functools.partialmethod`.
388388
See the :mod:`functools` module documentation for details on how these
389389
objects support annotations.

0 commit comments

Comments
 (0)