We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbe0191 commit afa3056Copy full SHA for afa3056
peps/pep-0767.rst
@@ -498,7 +498,7 @@ This has a few subtyping implications. Borrowing from :pep:`705#inheritance`:
498
has_name = NamedDescriptor()
499
500
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
+ is supported by the protocol's type (``type[HasName]``). Even if an attribute
502
exists on the protocol's type, no assumptions should be made about its type.
503
504
Accurately modeling the behavior and type of ``type[HasName].name`` is difficult,
0 commit comments