diff options
author | Matti Picus <matti.picus@gmail.com> | 2023-02-11 22:59:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 22:59:11 +0200 |
commit | 671de61aeaf2b4ec25f058f60f629f412d7df653 (patch) | |
tree | 9dba93c740c46728eb540da3fcff444498c83db4 /numpy/lib/_iotools.py | |
parent | 8daec0ecf11f9d2633d133f2d2b7d6c39f157f4b (diff) | |
parent | 75af40548eb85cfa25cb4074e9e4ebc5d5196b4e (diff) | |
download | numpy-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.py | 4 |
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 |