Skip to content

Commit

Permalink
BLD: Fix bad Cython annotation (pandas-dev#59836)
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 authored Sep 18, 2024
1 parent 0ad2c0d commit 09c7a87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/np_datetime.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ cdef int string_to_dts(
int* out_local,
int* out_tzoffset,
bint want_exc,
format: str | None = *,
str format = *,
bint exact = *
) except? -1

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/np_datetime.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ cdef int string_to_dts(
int* out_local,
int* out_tzoffset,
bint want_exc,
format: str | None=None,
str format=None,
bint exact=True,
) except? -1:
cdef:
Expand Down

0 comments on commit 09c7a87

Please sign in to comment.