summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api
diff options
context:
space:
mode:
authortakanori-pskq <takanori17h@gmail.com>2020-10-24 20:33:50 +0900
committertakanori-pskq <takanori17h@gmail.com>2020-10-24 20:33:50 +0900
commitbecc3bc83421677530abfe54c4757ed6adcc822b (patch)
tree881066e67e4837a3040704ea21bff24e0c01c62e /doc/source/reference/c-api
parent11c57968e98fb881722dffb1a35bd70bea3b422a (diff)
downloadnumpy-becc3bc83421677530abfe54c4757ed6adcc822b.tar.gz
DOC: Fixup for ``PyUFunc_*``
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r--doc/source/reference/c-api/types-and-structures.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/reference/c-api/types-and-structures.rst b/doc/source/reference/c-api/types-and-structures.rst
index c45ebb692..8c1a679dc 100644
--- a/doc/source/reference/c-api/types-and-structures.rst
+++ b/doc/source/reference/c-api/types-and-structures.rst
@@ -814,7 +814,9 @@ PyUFunc_Type and PyUFuncObject
.. c:member:: int identity
Either :c:data:`PyUFunc_One`, :c:data:`PyUFunc_Zero`,
- or :c:data:`PyUFunc_None` to indicate
+ :c:data:`PyUFunc_MinusOne`, :c:data:`PyUFunc_None`,
+ :c:data:`PyUFunc_ReorderableNone`, or
+ :c:data:`PyUFunc_IdentityValue` to indicate
the identity for this operation. It is only used for a
reduce-like call on an empty array.