Skip to content

Commit d7f8c97

Browse files
committed
updated def to cdef
1 parent 99e8f34 commit d7f8c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/timestamps.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3440,7 +3440,7 @@ Timestamp.daysinmonth = Timestamp.days_in_month
34403440
34413441
@cython.overflowcheck(True)
34423442
@cython.cdivision(False)
3443-
def normalize_i8_stamp(self, int64_t local_val, int64_t ppd):
3443+
cdef normalize_i8_stamp(self, int64_t local_val, int64_t ppd):
34443444
"""
34453445
Round the localized nanosecond timestamp down to the previous midnight.
34463446

0 commit comments

Comments
 (0)