Skip to content

Commit bd96c5f

Browse files
tqchenleofang
andauthored
Update docs/source/python_spec.rst
Co-authored-by: Leo Fang <leo80042@gmail.com>
1 parent 1f18a9e commit bd96c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/python_spec.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ DLPack C Exchange API
184184

185185
Starting with DLPack 1.3, a new C Exchange API is introduced to enable faster
186186
data exchange than the Python ``__dlpack__`` API at the C extension level.
187-
Producer array frameworks must provide a ``__dlpack_c_exchange_api__``
187+
Producer array frameworks may provide a ``__dlpack_c_exchange_api__``
188188
attribute on the array type.
189189
The attribute should be a ``PyCapsule`` with name ``"dlpack_exchange_api"``.
190190
The consumer can query whether this attribute exists and use it at the C extension level.

0 commit comments

Comments
 (0)