summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/reference/c-api.array.rst18
-rw-r--r--doc/source/reference/c-api.ufunc.rst12
2 files changed, 26 insertions, 4 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index bd6062b16..39f936414 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -3466,6 +3466,10 @@ Other constants
The maximum number of dimensions allowed in arrays.
+.. c:var:: NPY_MAXARGS
+
+ The maximum number of array arguments that can be used in functions.
+
.. c:var:: NPY_VERSION
The current version of the ndarray object (check to see if this
@@ -3558,10 +3562,18 @@ Enumerated Types
.. c:type:: NPY_SORTKIND
- A special variable-type which can take on the values :c:data:`NPY_{KIND}`
- where ``{KIND}`` is
+ A special variable-type which can take on different values to indicate
+ the sorting algorithm being used.
+
+ .. c:var:: NPY_QUICKSORT
+
+ .. c:var:: NPY_HEAPSORT
+
+ .. c:var:: NPY_MERGESORT
+
+ .. c:var:: NPY_STABLESORT
- **QUICKSORT**, **HEAPSORT**, **MERGESORT**, **STABLESORT**
+ Used as an alias of :c:data:`NPY_MERGESORT` and vica versa.
.. c:var:: NPY_NSORTS
diff --git a/doc/source/reference/c-api.ufunc.rst b/doc/source/reference/c-api.ufunc.rst
index 0499ccf5b..ba5673cc3 100644
--- a/doc/source/reference/c-api.ufunc.rst
+++ b/doc/source/reference/c-api.ufunc.rst
@@ -21,7 +21,17 @@ Constants
.. c:var:: PyUFunc_{VALUE}
- ``{VALUE}`` can be **One** (1), **Zero** (0), or **None** (-1)
+ .. c:var:: PyUFunc_One
+
+ .. c:var:: PyUFunc_Zero
+
+ .. c:var:: PyUFunc_MinusOne
+
+ .. c:var:: PyUFunc_ReorderableNone
+
+ .. c:var:: PyUFunc_None
+
+ .. c:var:: PyUFunc_IdentityValue
Macros