summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-05-18 16:50:58 -0500
committerGitHub <noreply@github.com>2020-05-18 16:50:58 -0500
commit4b401344f6bc93a466faf4f88264608a06c43cb9 (patch)
treedb8cf297906d98835df24887162271ea9d31c515 /numpy/lib/_iotools.py
parent8bc4701bbfbcfafb2be634d41a2611bd0182d344 (diff)
downloadnumpy-4b401344f6bc93a466faf4f88264608a06c43cb9.tar.gz
Update numpy/lib/_iotools.py
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'numpy/lib/_iotools.py')
-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):