Skip to content

Commit fb8cd97

Browse files
committed
Closes #276
1 parent 979c757 commit fb8cd97

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/pages/concept.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ that some ``list`` is ``List[int]`` or ``List[str]``:
114114
``__instancecheck__`` magic method
115115
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116116

117-
We need some custom type inference mechanism:
117+
We need some custom type inference mechanism.
118+
For this purpose we use
119+
`__instancecheck__ <https://docs.python.org/3/reference/datamodel.html#class.__instancecheck>`_
120+
magic method:
118121

119122
.. code:: python
120123

0 commit comments

Comments
 (0)