summaryrefslogtreecommitdiff
path: root/numpy/array_api/_utility_functions.py
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-06-18 07:26:22 -0400
committerWarren Weckesser <warren.weckesser@gmail.com>2020-06-18 07:26:22 -0400
commit2d31d06d5f03782f4319aefd20a66bd4196db7c3 (patch)
treec4f16a29e67c7a6d8addbe048e1be224b3f3dc32 /numpy/array_api/_utility_functions.py
parentbe11d11793b894669cb7f3b0ad9dfcca06df9a3e (diff)
downloadnumpy-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