diff options
author | Samuel St-Jean <stjeansam@gmail.com> | 2015-08-18 13:40:15 -0400 |
---|---|---|
committer | Samuel St-Jean <Samuel.St-Jean@usherbrooke.ca> | 2015-08-18 14:10:41 -0400 |
commit | c484d41531c8e620ec6a9bd110a681f3dab6472c (patch) | |
tree | d7fbb119ad6895325cfa3aac9679a927c9117987 | |
parent | 530a6fdd00ac4c9a267d5b3562e6276de3f93061 (diff) | |
download | numpy-c484d41531c8e620ec6a9bd110a681f3dab6472c.tar.gz |
Doc : fixed paramter typo
-rw-r--r-- | doc/CAPI.rst.txt | 2 | ||||
-rw-r--r-- | numpy/add_newdocs.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/CAPI.rst.txt b/doc/CAPI.rst.txt index 4bd51baca..474e37c02 100644 --- a/doc/CAPI.rst.txt +++ b/doc/CAPI.rst.txt @@ -71,7 +71,7 @@ This is a very flexible function. using ``PyArray_DescrFromType(<typenum>)``. If you want to use a flexible size array, then you need to use ``PyArray_DescrNewFromType(<flexible typenum>)`` and set its ``elsize`` - paramter to the desired size. The typenum in both of these cases + parameter to the desired size. The typenum in both of these cases is one of the ``PyArray_XXXX`` enumerated types. ``nd`` : ``int`` diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index a6d7dc32e..195789a39 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -3242,7 +3242,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('astype', ------- arr_t : ndarray Unless `copy` is False and the other conditions for returning the input - array are satisfied (see description for `copy` input paramter), `arr_t` + array are satisfied (see description for `copy` input parameter), `arr_t` is a new array of the same shape as the input array, with dtype, order given by `dtype`, `order`. |