Skip to content

Commit 4744064

Browse files
authored
MNT: use int instead of long in cython code (pandas-dev#56138)
1 parent 5437d7a commit 4744064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/strptime.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ cdef tzinfo _parse_with_format(
639639
item_reso[0] = NPY_DATETIMEUNIT.NPY_FR_ns
640640
# Pad to always return nanoseconds
641641
s += "0" * (9 - len(s))
642-
us = long(s)
642+
us = int(s)
643643
ns = us % 1000
644644
us = us // 1000
645645
elif parse_code == 11:

0 commit comments

Comments
 (0)