Skip to content

Commit f5d7731

Browse files
committed
>> added bytes and unicode to _supported_scalars_types
1 parent 5e39fcc commit f5d7731

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

larray/inout/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
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
1819
_supported_scalars_types = (int, float, bool, str, bytes, unicode, date, time, datetime)
1920
_supported_types = _supported_larray_types + _supported_scalars_types
2021
_supported_typenames = {cls.__name__ for cls in _supported_types}

0 commit comments

Comments
 (0)