summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWendell Smith <wackywendell@gmail.com>2015-10-26 17:34:00 -0400
committerWendell Smith <wackywendell@gmail.com>2016-04-06 22:17:40 -0400
commit5ac270b06e411dd0e13108ed5dafad31d5ab589d (patch)
tree7d3edfe92ad8d53b4db3155ce4fc6f02ee3c39fd /doc
parent537d35c2cf49cae0a496c37564fa282ec80e3695 (diff)
downloadnumpy-5ac270b06e411dd0e13108ed5dafad31d5ab589d.tar.gz
ENH: Add support for pathlib.Path objects to save/load functions
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.12.0-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst
index b9e405154..c43c818fa 100644
--- a/doc/release/1.12.0-notes.rst
+++ b/doc/release/1.12.0-notes.rst
@@ -169,6 +169,12 @@ The *__complex__* method has been implemented on the ndarray object
Calling ``complex()`` on a size 1 array will now cast to a python
complex.
+``pathlib.Path`` objects now supported
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The standard ``np.load``, ``np.save``, ``np.loadtxt``, ``np.savez``, and similar
+functions can now take ``pathlib.Path`` objects as an argument instead of a
+filename or open file object.
+
Changes
=======