summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorwtli <liwt31@163.com>2019-01-21 21:46:44 +0800
committerwtli <liwt31@163.com>2019-01-21 22:17:28 +0800
commit5298b464f31bca533cbdb928916a7d5df49707c0 (patch)
treec2106f1812db6b4a8803c4292dd88a38e709cd52 /doc/source/reference/c-api.array.rst
parent918988bcaa04fb692af68324d87be3ede01bb1c7 (diff)
downloadnumpy-5298b464f31bca533cbdb928916a7d5df49707c0.tar.gz
DOC: add docstring for timsort
Diffstat (limited to 'doc/source/reference/c-api.array.rst')
-rw-r--r--doc/source/reference/c-api.array.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 7c298e118..cf3c10e3b 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -2988,8 +2988,9 @@ to.
.. c:function:: int PyArray_SortkindConverter(PyObject* obj, NPY_SORTKIND* sort)
Convert Python strings into one of :c:data:`NPY_QUICKSORT` (starts
- with 'q' or 'Q') , :c:data:`NPY_HEAPSORT` (starts with 'h' or 'H'),
- or :c:data:`NPY_MERGESORT` (starts with 'm' or 'M').
+ with 'q' or 'Q'), :c:data:`NPY_HEAPSORT` (starts with 'h' or 'H'),
+ :c:data:`NPY_MERGESORT` (starts with 'm' or 'M') or :c:data:`NPY_TIMSORT`
+ (starts with 't' or 'T').
.. c:function:: int PyArray_SearchsideConverter( \
PyObject* obj, NPY_SEARCHSIDE* side)
@@ -3533,7 +3534,7 @@ Enumerated Types
A special variable-type which can take on the values :c:data:`NPY_{KIND}`
where ``{KIND}`` is
- **QUICKSORT**, **HEAPSORT**, **MERGESORT**
+ **QUICKSORT**, **HEAPSORT**, **MERGESORT**, **TIMSORT**
.. c:var:: NPY_NSORTS