diff options
Diffstat (limited to 'numpy/core/defchararray.py')
| -rw-r--r-- | numpy/core/defchararray.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py index 2dec5634e..9866954c1 100644 --- a/numpy/core/defchararray.py +++ b/numpy/core/defchararray.py @@ -53,7 +53,7 @@ class chararray(ndarray): def __array_finalize__(self, obj): # The b is a special case because it is used for reconstructing. - if not _globalvar and self.dtype.char not in 'SUb': + if not _globalvar and self.dtype.char not in 'SUbc': raise ValueError, "Can only create a chararray from string data." def __getitem__(self, obj): |
