Skip to content

Commit ee2626e

Browse files
committed
Better name for fused type
1 parent b88139d commit ee2626e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/lib.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -905,19 +905,19 @@ def clean_index_list(list obj):
905905
return maybe_convert_objects(converted), 0
906906

907907

908-
ctypedef fused pandas_t:
908+
ctypedef fused pandas_string:
909909
str
910910
unicode
911911
bytes
912912

913913

914914
@cython.boundscheck(False)
915915
@cython.wraparound(False)
916-
cpdef Py_ssize_t max_len_string_array(pandas_t[:] arr):
916+
cpdef Py_ssize_t max_len_string_array(pandas_string[:] arr):
917917
""" return the maximum size of elements in a 1-dim string array """
918918
cdef:
919919
Py_ssize_t i, m = 0, l = 0, length = arr.shape[0]
920-
pandas_t v
920+
pandas_string v
921921

922922
for i in range(length):
923923
v = arr[i]

0 commit comments

Comments
 (0)