diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-04-07 07:06:23 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-04-07 07:06:23 -0600 |
commit | 0c6aa60caaaf41164983ab7d2a2b62a06292f610 (patch) | |
tree | 64def75c4f1f0be47c52d38e54f73d63e5853038 /doc | |
parent | 3920a29ae79af8b3a9e8a0004705f905544f52cd (diff) | |
parent | 5ac270b06e411dd0e13108ed5dafad31d5ab589d (diff) | |
download | numpy-0c6aa60caaaf41164983ab7d2a2b62a06292f610.tar.gz |
Merge pull request #6660 from wackywendell/usepath
Added pathlib support for several 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 eaf0ffd70..98dd3b316 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 ======= |