Skip to content

Commit ce2b974

Browse files
xhochypitrou
authored andcommitted
Don't use 3.6+ type annotations
1 parent d0b25ed commit ce2b974

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/pyarrow/_compute.pyx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ from pyarrow.lib cimport (
2626
)
2727
from pyarrow.includes.libarrow cimport CDatum, Sum
2828

29-
from typing import Union
30-
3129

3230
cdef _sum_array(array: Array):
3331
cdef CDatum out
@@ -47,7 +45,7 @@ cdef _sum_chunked_array(array: ChunkedArray):
4745
return wrap_datum(out)
4846

4947

50-
def sum(array: Union[Array, ChunkedArray]):
48+
def sum(array):
5149
"""
5250
Sum the values in a numerical (chunked) array.
5351
"""

0 commit comments

Comments
 (0)