We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f18a9e commit bd96c5fCopy full SHA for bd96c5f
docs/source/python_spec.rst
@@ -184,7 +184,7 @@ DLPack C Exchange API
184
185
Starting with DLPack 1.3, a new C Exchange API is introduced to enable faster
186
data exchange than the Python ``__dlpack__`` API at the C extension level.
187
-Producer array frameworks must provide a ``__dlpack_c_exchange_api__``
+Producer array frameworks may provide a ``__dlpack_c_exchange_api__``
188
attribute on the array type.
189
The attribute should be a ``PyCapsule`` with name ``"dlpack_exchange_api"``.
190
The consumer can query whether this attribute exists and use it at the C extension level.
0 commit comments