summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/arrays.indexing.rst6
-rw-r--r--doc/source/reference/c-api.array.rst2
-rw-r--r--doc/source/reference/routines.rst2
-rw-r--r--doc/source/reference/routines.testing.rst2
4 files changed, 5 insertions, 7 deletions
diff --git a/doc/source/reference/arrays.indexing.rst b/doc/source/reference/arrays.indexing.rst
index e759b6ff8..d319b5d80 100644
--- a/doc/source/reference/arrays.indexing.rst
+++ b/doc/source/reference/arrays.indexing.rst
@@ -170,9 +170,9 @@ concepts to remember include:
.. data:: newaxis
- The :const:`newaxis` object can be used in all slicing operations
- as discussed above. :const:`None` can also be used instead of
- :const:`newaxis`.
+ The :const:`newaxis` object can be used in all slicing operations to
+ create an axis of length one. :const: :const:`newaxis` is an alias for
+ 'None', and 'None' can be used in place of this with the same result.
Advanced indexing
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 2ce43b2be..23355bc91 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -190,7 +190,7 @@ From scratch
.. cfunction:: PyObject* PyArray_NewFromDescr(PyTypeObject* subtype, PyArray_Descr* descr, int nd, npy_intp* dims, npy_intp* strides, void* data, int flags, PyObject* obj)
- This function steals a reference to *descr* if it is not NULL.
+ This function steals a reference to *descr*.
This is the main array creation function. Most new arrays are
created with this flexible function.
diff --git a/doc/source/reference/routines.rst b/doc/source/reference/routines.rst
index 37b16de59..c2f091d83 100644
--- a/doc/source/reference/routines.rst
+++ b/doc/source/reference/routines.rst
@@ -36,8 +36,6 @@ indentation.
routines.ma
routines.math
routines.matlib
- routines.numarray
- routines.oldnumeric
routines.other
routines.padding
routines.polynomials
diff --git a/doc/source/reference/routines.testing.rst b/doc/source/reference/routines.testing.rst
index 834d8bbe3..c43aeeed9 100644
--- a/doc/source/reference/routines.testing.rst
+++ b/doc/source/reference/routines.testing.rst
@@ -11,7 +11,7 @@ work right away.
Asserts
-=======
+-------
.. autosummary::
:toctree: generated/