Skip to content

Commit eb9e59b

Browse files
committed
compat
1 parent c2fcb88 commit eb9e59b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zarr/compat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def itervalues(d, **kw):
1515
text_type = unicode
1616
binary_type = str
1717
integer_types = (int, long)
18+
reduce = reduce
1819

1920
else:
2021

@@ -24,3 +25,4 @@ def itervalues(d, **kw):
2425
text_type = str
2526
binary_type = bytes
2627
integer_types = int,
28+
from functools import reduce

0 commit comments

Comments
 (0)