Skip to content

Commit a91151c

Browse files
Fix duplicate word in protocols.rst (#16950)
1 parent 2037e4a commit a91151c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/protocols.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ compatible as types: nominal subtyping and structural subtyping.
99
*Nominal* subtyping is strictly based on the class hierarchy. If class ``Dog``
1010
inherits class ``Animal``, it's a subtype of ``Animal``. Instances of ``Dog``
1111
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
12+
is what Python's type system predominantly uses: it's easy to
1313
understand and produces clear and concise error messages, and matches how the
1414
native :py:func:`isinstance <isinstance>` check works -- based on class
1515
hierarchy.

0 commit comments

Comments
 (0)