summaryrefslogtreecommitdiff
path: root/numpy/lib/_iotools.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2023-02-11 22:59:11 +0200
committerGitHub <noreply@github.com>2023-02-11 22:59:11 +0200
commit671de61aeaf2b4ec25f058f60f629f412d7df653 (patch)
tree9dba93c740c46728eb540da3fcff444498c83db4 /numpy/lib/_iotools.py
parent8daec0ecf11f9d2633d133f2d2b7d6c39f157f4b (diff)
parent75af40548eb85cfa25cb4074e9e4ebc5d5196b4e (diff)
downloadnumpy-671de61aeaf2b4ec25f058f60f629f412d7df653.tar.gz
Merge pull request #20064 from DimitriPapadopoulos/str
MAINT, DOC: get rid of unicode, unicode_, string_
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