File tree 1 file changed +4
-0
lines changed
doc/source/reference/c-api 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -764,18 +764,22 @@ cannot not be accessed directly.
764
764
DTypes. These accessors were all added in 2.0.
765
765
766
766
.. c:function:: PyObject *PyDataType_METADATA(PyArray_Descr *descr)
767
+
767
768
The Metadata attached to a dtype, either ``NULL `` or a dictionary.
768
769
769
770
.. c :function :: PyObject *PyDataType_NAMES (PyArray_Descr *descr)
771
+
770
772
``NULL `` or a list of structured field names attached to a dtype,
771
773
this list should not be mutated, NumPy may change the way fields are
772
774
stored in the future.
773
775
774
776
.. c :function :: PyObject *PyDataType_FIELDS (PyArray_Descr *descr)
777
+
775
778
``NULL ``, ``None ``, or a dict of structured dtype fields, this dict must
776
779
not be mutated, NumPy may change the way fields are stored in the future.
777
780
778
781
.. c :function :: NpyAuxData *PyDataType_C_METADATA (PyArray_Descr *descr)
782
+
779
783
C-metadata object attached to a descriptor. This accessor should not
780
784
be needed usually. The C-Metadata field does provide access to the
781
785
datetime/timedelta time unit information.
You can’t perform that action at this time.
0 commit comments