Skip to content

Commit 1f4f6db

Browse files
committed
>> removed str from _supported_scalars_types
1 parent f5d7731 commit 1f4f6db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

larray/inout/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
# only for HDF5 and pickle formats
1717
# support list, tuple and dict?
18-
# remove bytes and unicode when Python 2.7 will no longer be supported
19-
_supported_scalars_types = (int, float, bool, str, bytes, unicode, date, time, datetime)
18+
# replace unicode by str when Python 2.7 will no longer be supported
19+
_supported_scalars_types = (int, float, bool, bytes, unicode, date, time, datetime)
2020
_supported_types = _supported_larray_types + _supported_scalars_types
2121
_supported_typenames = {cls.__name__ for cls in _supported_types}
2222

0 commit comments

Comments
 (0)