diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2020-06-18 07:26:22 -0400 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2020-06-18 07:26:22 -0400 |
commit | 2d31d06d5f03782f4319aefd20a66bd4196db7c3 (patch) | |
tree | c4f16a29e67c7a6d8addbe048e1be224b3f3dc32 /numpy/array_api/_utility_functions.py | |
parent | be11d11793b894669cb7f3b0ad9dfcca06df9a3e (diff) | |
download | numpy-2d31d06d5f03782f4319aefd20a66bd4196db7c3.tar.gz |
MAINT: lib: In loadtxt, validate ndmin argument earlier.
Validation of `ndmin` is moved to the beginning of the function,
so we don't read the entire file only to raise an exception at
the end because of a bad argument.
Diffstat (limited to 'numpy/array_api/_utility_functions.py')
0 files changed, 0 insertions, 0 deletions