From b4105bf03f16e0bd38c6a74ba32de5b0a69ed190 Mon Sep 17 00:00:00 2001 From: Kriti Singh Date: Mon, 1 Jul 2019 00:56:58 +0530 Subject: DOC: Add missing macros to C-API documentation (#13825) * DOC: Adds missing macros in C-API documentation * Adds new PyUFunc_{KIND} macros Fixes #13775 --- doc/source/reference/c-api.array.rst | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'doc/source/reference/c-api.array.rst') 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 -- cgit v1.2.1