diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2023-04-09 10:29:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 10:29:16 -0400 |
commit | 2ef217d279d13afa2399efee864b9f11f4096aa7 (patch) | |
tree | af7a36d69295ce3af9c3c8cf82199431940067f1 /doc/source/reference/c-api | |
parent | 24de3a28d40d58844e4401274a2e9d195d77fa40 (diff) | |
parent | 25a73ef77c8e300ca577f0087757bdc65cb5c428 (diff) | |
download | numpy-2ef217d279d13afa2399efee864b9f11f4096aa7.tar.gz |
Merge pull request #23562 from F3eQnxN3RriK/doc-fix-pyufuncobject
DOC: Fix document structure of `PyUfuncObject`
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r-- | doc/source/reference/c-api/types-and-structures.rst | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/source/reference/c-api/types-and-structures.rst b/doc/source/reference/c-api/types-and-structures.rst index 2bcc61108..5f76fe0a6 100644 --- a/doc/source/reference/c-api/types-and-structures.rst +++ b/doc/source/reference/c-api/types-and-structures.rst @@ -997,10 +997,14 @@ PyUFunc_Type and PyUFuncObject .. c:member:: npy_uint32 *core_dim_flags - For each distinct core dimension, a set of ``UFUNC_CORE_DIM*`` flags + For each distinct core dimension, a set of flags ( + :c:macro:`UFUNC_CORE_DIM_CAN_IGNORE` and + :c:macro:`UFUNC_CORE_DIM_SIZE_INFERRED`) -.. - dedented to allow internal linking, pending a refactoring + .. c:member:: PyObject *identity_value + + Identity for reduction, when :c:member:`PyUFuncObject.identity` + is equal to :c:data:`PyUFunc_IdentityValue`. .. c:macro:: UFUNC_CORE_DIM_CAN_IGNORE @@ -1011,11 +1015,6 @@ PyUFunc_Type and PyUFuncObject if the dim size will be determined from the operands and not from a :ref:`frozen <frozen>` signature - .. c:member:: PyObject *identity_value - - Identity for reduction, when :c:member:`PyUFuncObject.identity` - is equal to :c:data:`PyUFunc_IdentityValue`. - PyArrayIter_Type and PyArrayIterObject -------------------------------------- |