Skip to content

Commit 3df31e1

Browse files
author
Bruno P. Kinoshita
committed
Use cpdef instead of cdef
1 parent 49baedc commit 3df31e1

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-
cdef inline Py_ssize_t max_len_string(object val):
138+
cpdef 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)