diff options
author | James Bourbeau <jrbourbeau@gmail.com> | 2017-08-30 15:39:50 -0500 |
---|---|---|
committer | James Bourbeau <jrbourbeau@gmail.com> | 2017-08-30 15:39:50 -0500 |
commit | d8bf05c235e55f08324f1b7e156ef9277f25634c (patch) | |
tree | 6325c8239de36e31976ec4d2248262341bc522fb /numpy/lib/npyio.py | |
parent | 7172b077a5cb560ace33623e1e8c852b36762a90 (diff) | |
download | numpy-d8bf05c235e55f08324f1b7e156ef9277f25634c.tar.gz |
Updates order of parameters in save docstring to match function parameter order
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 17b585ee5..e7303fc65 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -443,6 +443,8 @@ def save(file, arr, allow_pickle=True, fix_imports=True): then the filename is unchanged. If file is a string or Path, a ``.npy`` extension will be appended to the file name if it does not already have one. + arr : array_like + Array data to be saved. allow_pickle : bool, optional Allow saving object arrays using Python pickles. Reasons for disallowing pickles include security (loading pickled data can execute arbitrary @@ -456,8 +458,6 @@ def save(file, arr, allow_pickle=True, fix_imports=True): pickled in a Python 2 compatible way. If `fix_imports` is True, pickle will try to map the new Python 3 names to the old module names used in Python 2, so that the pickle data stream is readable with Python 2. - arr : array_like - Array data to be saved. See Also -------- |