10000 DOC: Fix incorrect rst markups of c function directives · andyfaff/numpy@0170958 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0170958

Browse files
committed
DOC: Fix incorrect rst markups of c function directives
Fixed the first one in the list at numpy#13114 (comment). [skip cirrus] [skip azp] [skip actions]
1 parent 341ef66 commit 0170958

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/source/reference/c-api/array.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,18 +764,22 @@ cannot not be accessed directly.
764764
DTypes. These accessors were all added in 2.0.
765765
766766
.. c:function:: PyObject *PyDataType_METADATA(PyArray_Descr *descr)
767+
767768
The Metadata attached to a dtype, either ``NULL`` or a dictionary.
768769
769770
.. c:function:: PyObject *PyDataType_NAMES(PyArray_Descr *descr)
771+
770772
``NULL`` or a list of structured field names attached to a dtype,
771773
this list should not be mutated, NumPy may change the way fields are
772774
stored in the future.
773775
774776
.. c:function:: PyObject *PyDataType_FIELDS(PyArray_Descr *descr)
777+
775778
``NULL``, ``None``, or a dict of structured dtype fields, this dict must
776779
not be mutated, NumPy may change the way fields are stored in the future.
777780
778781
.. c:function:: NpyAuxData *PyDataType_C_METADATA(PyArray_Descr *descr)
782+
779783
C-metadata object attached to a descriptor. This accessor should not
780784
be needed usually. The C-Metadata field does provide access to the
781785
datetime/timedelta time unit information.

0 commit comments

Comments
 (0)
0