summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2008-04-26 22:09:30 +0000
committerPauli Virtanen <pav@iki.fi>2008-04-26 22:09:30 +0000
commit58d85b4b65c2af0187c8049bf41e8834b8a36ffb (patch)
tree61a79718bb01e1eb955bb4fc8da0f35944edb147 /numpy/add_newdocs.py
parentb660174661898c50139a0712322c997a6f7b118c (diff)
downloadnumpy-58d85b4b65c2af0187c8049bf41e8834b8a36ffb.tar.gz
Fix two typos in ndarray docstrings.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 8730ee514..85e7bdbba 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -1914,7 +1914,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('sum',
-------
sum_along_axis : {array, scalar}, see dtype parameter above.
Returns an array whose shape is the same as a with the specified
- axis removed. Returns a 0d array when a is 1d or dtype=None.
+ axis removed. Returns a 0d array when a is 1d or axis=None.
Returns a reference to the specified output array if specified.
See Also
@@ -2037,7 +2037,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('tofile',
An open file object or a string containing a filename.
sep : string
Separator between array items for text output.
- If "" (empty), a binary file is written, equivalenty to
+ If "" (empty), a binary file is written, equivalently to
file.write(a.tostring()).
format : string
Format string for text file output.