summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorPierre de Buyl <pdebuyl@pdebuyl.be>2016-09-06 14:42:08 +0200
committerPierre de Buyl <pdebuyl@pdebuyl.be>2016-09-06 14:42:08 +0200
commit2a55233b81a6ea18a57d1dd4f7bc5fff9f2fb681 (patch)
tree1a4a81faf9e59d0cabf9cbace9dc967bad60caa1 /numpy/lib/npyio.py
parent773e3cad9a71cb9a7849d8e251fb8a99ab35d06b (diff)
downloadnumpy-2a55233b81a6ea18a57d1dd4f7bc5fff9f2fb681.tar.gz
DOC: change Numpy to NumPy in dosctrings and comments
The strings in error messages were left untouched
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 0b2fdfaba..376d34b91 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -376,9 +376,9 @@ def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,
if encoding not in ('ASCII', 'latin1', 'bytes'):
# The 'encoding' value for pickle also affects what encoding
- # the serialized binary data of Numpy arrays is loaded
+ # the serialized binary data of NumPy arrays is loaded
# in. Pickle does not pass on the encoding information to
- # Numpy. The unpickling code in numpy.core.multiarray is
+ # NumPy. The unpickling code in numpy.core.multiarray is
# written to assume that unicode data appearing where binary
# should be is in 'latin1'. 'bytes' is also safe, as is 'ASCII'.
#
@@ -466,7 +466,7 @@ def save(file, arr, allow_pickle=True, fix_imports=True):
Notes
-----
For a description of the ``.npy`` format, see the module docstring
- of `numpy.lib.format` or the Numpy Enhancement Proposal
+ of `numpy.lib.format` or the NumPy Enhancement Proposal
http://docs.scipy.org/doc/numpy/neps/npy-format.html
Examples
@@ -552,7 +552,7 @@ def savez(file, *args, **kwds):
variables they contain. The archive is not compressed and each file
in the archive contains one variable in ``.npy`` format. For a
description of the ``.npy`` format, see `numpy.lib.format` or the
- Numpy Enhancement Proposal
+ NumPy Enhancement Proposal
http://docs.scipy.org/doc/numpy/neps/npy-format.html
When opening the saved ``.npz`` file with `load` a `NpzFile` object is
@@ -1428,7 +1428,7 @@ def genfromtxt(fname, dtype=float, comments='#', delimiter=None,
References
----------
- .. [1] Numpy User Guide, section `I/O with Numpy
+ .. [1] NumPy User Guide, section `I/O with NumPy
<http://docs.scipy.org/doc/numpy/user/basics.io.genfromtxt.html>`_.
Examples