File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 7575
7676.. currentmodule:: arraycontext
7777
78- The interface of an array context
79- ---------------------------------
78+ The :class:`ArrayContext` Interface
79+ -----------------------------------
8080
8181.. autoclass:: ArrayContext
8282
@@ -278,8 +278,10 @@ class ArrayContext(ABC):
278278
279279 A :class:`tuple` of types that are the valid array classes the
280280 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__`.
283285
284286 .. automethod:: freeze
285287 .. automethod:: thaw
You can’t perform that action at this time.
0 commit comments