Skip to content

Commit d8b1a45

Browse files
authored
MNT: Add support of Cython 3 master (#53145)
Add support of Cython 3 master
1 parent b5f7984 commit d8b1a45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/_libs/parsers.pyx

+3-3
Original file line numberDiff line numberDiff line change
@@ -303,19 +303,19 @@ PandasParser_IMPORT
303303
# cdef extern'ed declarations seem to leave behind an undefined symbol
304304
cdef double xstrtod_wrapper(const char *p, char **q, char decimal,
305305
char sci, char tsep, int skip_trailing,
306-
int *error, int *maybe_int) nogil:
306+
int *error, int *maybe_int) noexcept nogil:
307307
return xstrtod(p, q, decimal, sci, tsep, skip_trailing, error, maybe_int)
308308

309309

310310
cdef double precise_xstrtod_wrapper(const char *p, char **q, char decimal,
311311
char sci, char tsep, int skip_trailing,
312-
int *error, int *maybe_int) nogil:
312+
int *error, int *maybe_int) noexcept nogil:
313313
return precise_xstrtod(p, q, decimal, sci, tsep, skip_trailing, error, maybe_int)
314314

315315

316316
cdef double round_trip_wrapper(const char *p, char **q, char decimal,
317317
char sci, char tsep, int skip_trailing,
318-
int *error, int *maybe_int) nogil:
318+
int *error, int *maybe_int) noexcept nogil:
319319
return round_trip(p, q, decimal, sci, tsep, skip_trailing, error, maybe_int)
320320

321321

0 commit comments

Comments
 (0)