summaryrefslogtreecommitdiff
path: root/numpy/core/_internal.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/_internal.py')
-rw-r--r--numpy/core/_internal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/_internal.py b/numpy/core/_internal.py
index 5ad440fa4..85be66d06 100644
--- a/numpy/core/_internal.py
+++ b/numpy/core/_internal.py
@@ -370,6 +370,7 @@ def _view_is_safe(oldtype, newtype):
_pep3118_native_map = {
'?': '?',
+ 'c': 'S1',
'b': 'b',
'B': 'B',
'h': 'h',
@@ -396,6 +397,7 @@ _pep3118_native_typechars = ''.join(_pep3118_native_map.keys())
_pep3118_standard_map = {
'?': '?',
+ 'c': 'S1',
'b': 'b',
'B': 'B',
'h': 'i2',