Skip to content

Commit c82fb7e

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

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
@@ -448,7 +448,7 @@ Supporting annotations in custom objects
448448
-------------------------------------------
449449

450450
Objects can support annotation introspection by implementing the :attr:`~object.__annotate__`
451-
protocol. When an object’s class provides an :attr:`!__annotate__` attribute, :func:`get_annotations`
451+
protocol. When an object provides an :attr:`!__annotate__` attribute, :func:`get_annotations`
452452
will call it to retrieve the annotations for that object. The :attr:`!__annotate__` function
453453
should accept a single argument, a member of the :class:`Format` enum, and return a dictionary
454454
mapping annotation names to their values in the requested format.

0 commit comments

Comments
 (0)