Skip to content

Commit 71e0001

Browse files
committed
Fix signature of max_len_string
1 parent c413133 commit 71e0001

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)