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 2037e4a commit a91151cCopy full SHA for a91151c
docs/source/protocols.rst
@@ -9,7 +9,7 @@ compatible as types: nominal subtyping and structural subtyping.
9
*Nominal* subtyping is strictly based on the class hierarchy. If class ``Dog``
10
inherits class ``Animal``, it's a subtype of ``Animal``. Instances of ``Dog``
11
can be used when ``Animal`` instances are expected. This form of subtyping
12
-subtyping is what Python's type system predominantly uses: it's easy to
+is what Python's type system predominantly uses: it's easy to
13
understand and produces clear and concise error messages, and matches how the
14
native :py:func:`isinstance <isinstance>` check works -- based on class
15
hierarchy.
0 commit comments