File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 68
68
towncrier build --version $VERSION --yes
69
69
./tools/ci/test_all_newsfragments_used.py
70
70
71
- - run :
72
- name : run doctests on documentation
73
- command : |
74
- . venv/bin/activate
75
- # Note: keep these two checks separate, because they seem to
76
- # influence each other through changing global state (e.g., via
77
- # `np.polynomial.set_default_printstyle`)
78
- python tools/refguide_check.py --rst
79
- python tools/refguide_check.py --doctests
80
-
81
71
- run :
82
72
name : build devdocs w/ref warnings
83
73
command : |
@@ -104,6 +94,16 @@ jobs:
104
94
path : doc/neps/_build/html/
105
95
# destination: neps
106
96
97
+ - run :
98
+ name : run doctests on documentation
99
+ command : |
100
+ . venv/bin/activate
101
+ # Note: keep these two checks separate, because they seem to
102
+ # influence each other through changing global state (e.g., via
103
+ # `np.polynomial.set_default_printstyle`)
104
+ python tools/refguide_check.py --rst
105
+ python tools/refguide_check.py --doctests
106
+
107
107
- persist_to_workspace :
108
108
root : ~/repo
109
109
paths :
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