diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2021-08-02 15:16:12 +0300 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2021-08-02 15:16:12 +0300 |
commit | 3d6a75df56bbe7e45e4f25e5f7c66337367e406d (patch) | |
tree | 4dd96f3bbae1c5b4d776fd65f9d7cd05bbe5139c /numpy/array_api/_elementwise_functions.py | |
parent | 2c1a34daa024398cdf9c6e1fbeff52b4eb280551 (diff) | |
download | numpy-3d6a75df56bbe7e45e4f25e5f7c66337367e406d.tar.gz |
DOC/MAINT: Update wording re: fname inputs.
Both loadtxt and genfromtxt can read from lists and generators
of strings. The genfromtxt docstring captures this, but
loadtxt was missing this info.
Minor updates to docstrings and exceptions to:
- make the wording more accurate.
- homogenize the docs/exception messages for
loadtxt/genfromtxt.
- Make a ValueError in loadtxt a TypeError instead,
which is more accurate and aligns with genfromtxt.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions