Skip to content

Commit 49baedc

Browse files
kinowBruno P. Kinoshita
authored and
Bruno P. Kinoshita
committed
Fix signature of max_len_string
1 parent be5dd09 commit 49baedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/writers.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def max_len_string_array(pandas_string[:] arr) -> Py_ssize_t:
135135
return m
136136

137137

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

0 commit comments

Comments
 (0)