diff options
-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`. |