File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ dtype/descriptor itself is attached to an array (e.g. ``arr->descr->elsize``)
98
98
this is best replaced with ``PyArray_ITEMSIZE(arr) ``.
99
99
100
100
Where not possible, new accessor functions are required:
101
+
101
102
* ``PyDataType_ELSIZE `` and ``PyDataType_SET_ELSIZE `` (note that the result
102
103
is now ``npy_intp `` and not ``int ``).
103
104
* ``PyDataType_ALIGNENT ``
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ and its sub-types).
60
60
success.
61
61
62
62
.. note::
63
- In general, prefer the use of :c:function :`PyArray_Pack` when
63
+ In general, prefer the use of :c:func :`PyArray_Pack` when
64
64
handling arbitrary Python objects. Setitem is for example not able
65
65
to handle arbitrary casts between different dtypes.
66
66
@@ -781,7 +781,7 @@ cannot not be accessed directly.
781
781
.. versionchanged:: 2.0
782
782
Prior to NumPy 2.0 the ABI was different but unnecessary large for user
783
783
DTypes. These accessors were all added in 2.0 and can be backported
784
- (see :ref: `_migration_c_descr `).
784
+ (see :ref: `migration_c_descr `).
785
785
786
786
.. c:function:: npy_intp PyDataType_ELSIZE(PyArray_Descr *descr)
787
787
You can’t perform that action at this time.
0 commit comments