summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-10-07 14:29:40 +0200
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-02-10 00:06:49 +0100
commit75af40548eb85cfa25cb4074e9e4ebc5d5196b4e (patch)
tree9f5a39dd6cc62b66bb3753439003245960294350 /numpy/lib/_iotools.py
parentac6e66b9b22adcf1d72750ccb8ffe70be87c3679 (diff)
downloadnumpy-75af40548eb85cfa25cb4074e9e4ebc5d5196b4e.tar.gz
MAINT, DOC: string_ → bytes_ and unicode_ → str_
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r--numpy/lib/_iotools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py
index 4a5ac1285..534d1b3ee 100644
--- a/numpy/lib/_iotools.py
+++ b/numpy/lib/_iotools.py
@@ -513,8 +513,8 @@ class StringConverter:
(nx.complexfloating, complex, nx.nan + 0j),
# 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.str_, asunicode, '???'),
+ (nx.bytes_, asbytes, '???'),
])
@classmethod