summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2011-03-02 13:30:00 +0800
committerrgommers <ralf.gommers@googlemail.com>2011-03-02 14:14:28 +0800
commit05142b69d8304b219fa2e85c6e810a3f91e09c8b (patch)
tree8c6774cd43044ebff0e8702a5b45b7877e887e26 /doc/source/reference
parentf059c6757a3a3b7daa423d5b961cfa2eaa171bfc (diff)
downloadnumpy-05142b69d8304b219fa2e85c6e810a3f91e09c8b.tar.gz
DOC: add some more wiki edits, of rst files in ref/user guide.
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/c-api.array.rst10
-rw-r--r--doc/source/reference/distutils.rst6
-rw-r--r--doc/source/reference/maskedarray.generic.rst4
3 files changed, 10 insertions, 10 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 156da5526..a548144bc 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -373,25 +373,25 @@ From other objects
:cdata:`NPY_F_CONTIGUOUS` \| :cdata:`NPY_ALIGNED`
- .. cvar:: NPY_INOUT_ARRAY
+ .. cvar:: NPY_OUT_ARRAY
:cdata:`NPY_C_CONTIGUOUS` \| :cdata:`NPY_WRITEABLE` \|
:cdata:`NPY_ALIGNED`
- .. cvar:: NPY_INOUT_FARRAY
+ .. cvar:: NPY_OUT_FARRAY
:cdata:`NPY_F_CONTIGUOUS` \| :cdata:`NPY_WRITEABLE` \|
:cdata:`NPY_ALIGNED`
- .. cvar:: NPY_OUT_ARRAY
+ .. cvar:: NPY_INOUT_ARRAY
:cdata:`NPY_C_CONTIGUOUS` \| :cdata:`NPY_WRITEABLE` \|
:cdata:`NPY_ALIGNED` \| :cdata:`NPY_UPDATEIFCOPY`
- .. cvar:: NPY_OUT_FARRAY
+ .. cvar:: NPY_INOUT_FARRAY
:cdata:`NPY_F_CONTIGUOUS` \| :cdata:`NPY_WRITEABLE` \|
- :cdata:`NPY_ALIGNED` \| :cdata:`UPDATEIFCOPY`
+ :cdata:`NPY_ALIGNED` \| :cdata:`NPY_UPDATEIFCOPY`
.. cfunction:: PyObject* PyArray_CheckFromAny(PyObject* op, PyArray_Descr* dtype, int min_depth, int max_depth, int requirements, PyObject* context)
diff --git a/doc/source/reference/distutils.rst b/doc/source/reference/distutils.rst
index 63174c2c7..5d11a6d4c 100644
--- a/doc/source/reference/distutils.rst
+++ b/doc/source/reference/distutils.rst
@@ -16,6 +16,7 @@ dictionary obtained from the todict() method of the class). More
information is available in the NumPy Distutils Users Guide in
``<site-packages>/numpy/doc/DISTUTILS.txt``.
+
.. index::
single: distutils
@@ -31,7 +32,6 @@ misc_util
.. autosummary::
:toctree: generated/
- Configuration
get_numpy_include_dirs
dict_append
appendpath
@@ -59,9 +59,9 @@ misc_util
.. class:: Configuration(package_name=None, parent_name=None, top_path=None, package_path=None, **attrs)
Construct a configuration instance for the given package name. If
- *parent_name* is not :const:`None`, then construct the package as a
+ *parent_name* is not None, then construct the package as a
sub-package of the *parent_name* package. If *top_path* and
- *package_path* are :const:`None` then they are assumed equal to
+ *package_path* are None then they are assumed equal to
the path of the file this instance was created in. The setup.py
files in the numpy distribution are good examples of how to use
the :class:`Configuration` instance.
diff --git a/doc/source/reference/maskedarray.generic.rst b/doc/source/reference/maskedarray.generic.rst
index bb8695408..f753a56f9 100644
--- a/doc/source/reference/maskedarray.generic.rst
+++ b/doc/source/reference/maskedarray.generic.rst
@@ -315,8 +315,8 @@ new valid values to them::
>>> x.soften_mask()
>>> x[-1] = 5
>>> x
- masked_array(data = [1 2 --],
- mask = [False False True],
+ masked_array(data = [1 2 5],
+ mask = [False False False],
fill_value = 999999)
>>> x.harden_mask()