diff options
author | Wendell Smith <wackywendell@gmail.com> | 2015-10-26 17:34:00 -0400 |
---|---|---|
committer | Wendell Smith <wackywendell@gmail.com> | 2016-04-06 22:17:40 -0400 |
commit | 5ac270b06e411dd0e13108ed5dafad31d5ab589d (patch) | |
tree | 7d3edfe92ad8d53b4db3155ce4fc6f02ee3c39fd /doc | |
parent | 537d35c2cf49cae0a496c37564fa282ec80e3695 (diff) | |
download | numpy-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.rst | 6 |
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 ======= |