diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-01-07 18:00:29 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-01-14 20:07:07 -0600 |
commit | 37523dc7130cfac5400e7a0b511ba049f4c3713f (patch) | |
tree | 64f041b99efefb6f6c8131cbaa0207e29cc30e82 /numpy/lib/npyio.py | |
parent | 6bf1b2110157a58b5e909a169e7f495ce9e91b09 (diff) | |
download | numpy-37523dc7130cfac5400e7a0b511ba049f4c3713f.tar.gz |
ENH: Raise an error for (most) stray newline characters
This makes it strict that newline characters _within_ a single
line (which is only possible if the user passes in a manual iterator
of strings), is considered weird and rejected.
An example is: `np.loadtxt(['1\n1', "2 2"], dtype=np.int64)`
Diffstat (limited to 'numpy/lib/npyio.py')
0 files changed, 0 insertions, 0 deletions