Skip to content

Commit

Permalink
MNT: Add support of Cython 3 master (pandas-dev#53145)
Browse files Browse the repository at this point in the history
Add support of Cython 3 master
  • Loading branch information
matusvalo authored and im-vinicius committed Jul 8, 2023
1 parent 79c0203 commit 4882f36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/_libs/parsers.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -303,19 +303,19 @@ PandasParser_IMPORT
# cdef extern'ed declarations seem to leave behind an undefined symbol
cdef double xstrtod_wrapper(const char *p, char **q, char decimal,
char sci, char tsep, int skip_trailing,
int *error, int *maybe_int) nogil:
int *error, int *maybe_int) noexcept nogil:
return xstrtod(p, q, decimal, sci, tsep, skip_trailing, error, maybe_int)


cdef double precise_xstrtod_wrapper(const char *p, char **q, char decimal,
char sci, char tsep, int skip_trailing,
int *error, int *maybe_int) nogil:
int *error, int *maybe_int) noexcept nogil:
return precise_xstrtod(p, q, decimal, sci, tsep, skip_trailing, error, maybe_int)


cdef double round_trip_wrapper(const char *p, char **q, char decimal,
char sci, char tsep, int skip_trailing,
int *error, int *maybe_int) nogil:
int *error, int *maybe_int) noexcept nogil:
return round_trip(p, q, decimal, sci, tsep, skip_trailing, error, maybe_int)


Expand Down

0 comments on commit 4882f36

Please sign in to comment.