Skip to content

Commit 95724a2

Browse files
kinowBruno P. Kinoshita
authored andcommitted
Fix signature of max_len_string
1 parent cf4a4ad commit 95724a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/writers.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def max_len_string_array(pandas_string[:] arr) -> Py_ssize_t:
133133
return m
134134

135135

136-
def max_len_string(val):
136+
cdef inline Py_ssize_t max_len_string(object val):
137137
""" return the maximum size of a string"""
138138
cdef:
139139
Py_ssize_t l = 0

0 commit comments

Comments
 (0)