summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/lib/_iotools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py
index ac5f4f9b4..7560bf4da 100644
--- a/numpy/lib/_iotools.py
+++ b/numpy/lib/_iotools.py
@@ -514,7 +514,8 @@ class StringConverter:
# Last, try with the string types (must be last, because
# `_mapper[-1]` is used as default in some cases)
(nx.unicode_, asunicode, '???'),
- (nx.string_, asbytes, '???'),])
+ (nx.string_, asbytes, '???'),
+ ])
@classmethod
def _getdtype(cls, val):