summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-01-05 18:24:11 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2022-01-14 20:07:07 -0600
commit0a636c4faf2826a13f25566668ee8649081b80d1 (patch)
treede7289a93466605bfcb117229478225d7d9b6424 /numpy/lib/npyio.py
parent07389a7458ec5e31eab53cf7cddc84bc70e7eeb9 (diff)
downloadnumpy-0a636c4faf2826a13f25566668ee8649081b80d1.tar.gz
MAINT: Address Tylers review comments
(Mainly revising the doc strings)
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 572d1fa1a..0db5208c3 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -956,9 +956,6 @@ def _read(fname, *, delimiter=',', comment='#', quote='"',
"when multiple comments or a multi-character comment is "
"given, quotes are not supported. In this case the quote "
"character must be set to the empty string: `quote=''`.")
- else:
- # No preprocessing necessary
- assert comments is None
if len(imaginary_unit) != 1:
raise ValueError('len(imaginary_unit) must be 1.')