diff options
author | Antony Lee <anntzer.lee@gmail.com> | 2021-08-05 18:01:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 19:01:04 +0300 |
commit | cc7f1504aaf7b02de09ba87ee91dfe4446d90031 (patch) | |
tree | 5426d2531bfdfe03c500f10654e838665e3cd451 /numpy/array_api/_creation_functions.py | |
parent | d97e31e891e868457d710d53b8ddadb0d473ec8a (diff) | |
download | numpy-cc7f1504aaf7b02de09ba87ee91dfe4446d90031.tar.gz |
MAINT: In loadtxt, refactor detection of the number of columns. (#19616)
`for... else...` seems more idiomatic than manual iteration and catching
StopIteration.
Also rename the slightly cryptic `N` to a clearer `ncols`.
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions