File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 75
75
76
76
.. currentmodule:: arraycontext
77
77
78
- The interface of an array context
79
- ---------------------------------
78
+ The :class:`ArrayContext` Interface
79
+ -----------------------------------
80
80
81
81
.. autoclass:: ArrayContext
82
82
@@ -278,8 +278,10 @@ class ArrayContext(ABC):
278
278
279
279
A :class:`tuple` of types that are the valid array classes the
280
280
context can operate on. However, it is not necessary that *all* the
281
- :class:`ArrayContext`\ 's operations would be legal for the types in
282
- *array_types*.
281
+ :class:`ArrayContext`\ 's operations are legal for the types in
282
+ *array_types*. Note that this tuple is *only* intended for use
283
+ with :func:`isinstance`. Other uses are not allowed. This allows
284
+ for 'types' with overridden :meth:`class.__instancecheck__`.
283
285
284
286
.. automethod:: freeze
285
287
.. automethod:: thaw
You can’t perform that action at this time.
0 commit comments