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 a3c9b82 commit 59923e9Copy full SHA for 59923e9
docs/pages/concept.rst
@@ -142,8 +142,12 @@ Type resolution order
142
Here's how typeclass resolve types:
143
144
1. We try to resolve exact match by a passed type
145
-2. Then we try to match passed type a given protocols, first match wins
146
-3. Then we traverse ``mro`` entries of a given type, first match wins
+2. Then we try to match passed type with ``isinstance``
+ against types that support it, like protocols and delegates,
147
+ first match wins
148
+3. Then we traverse ``mro`` entries of a given type,
149
+ looking for ones we can handle,
150
151
152
We use cache, so calling typeclasses with same object types is fast.
153
0 commit comments