Skip to content

Commit afa3056

Browse files
committed
the -> an
1 parent fbe0191 commit afa3056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0767.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ This has a few subtyping implications. Borrowing from :pep:`705#inheritance`:
498498
has_name = NamedDescriptor()
499499

500500
Type checkers should not assume that access to a protocol's read-only attributes
501-
is supported by the protocol's type (``type[HasName]``). Even if the attribute
501+
is supported by the protocol's type (``type[HasName]``). Even if an attribute
502502
exists on the protocol's type, no assumptions should be made about its type.
503503

504504
Accurately modeling the behavior and type of ``type[HasName].name`` is difficult,

0 commit comments

Comments
 (0)