summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2021-08-05 18:01:04 +0200
committerGitHub <noreply@github.com>2021-08-05 19:01:04 +0300
commitcc7f1504aaf7b02de09ba87ee91dfe4446d90031 (patch)
tree5426d2531bfdfe03c500f10654e838665e3cd451 /numpy/array_api/_creation_functions.py
parentd97e31e891e868457d710d53b8ddadb0d473ec8a (diff)
downloadnumpy-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