Skip to content

Commit

Permalink
Backport PR pandas-dev#59836: BLD: Fix bad Cython annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 authored and meeseeksmachine committed Sep 18, 2024
1 parent f7b6378 commit 0c605c0
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 0c605c0

Please sign in to comment.