Skip to content

Commit de3bc06

Browse files
committed
revert mixup
1 parent 97fc7d4 commit de3bc06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/tslibs/timezones.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ cdef inline bint is_tzlocal(object tz):
3737
return isinstance(tz, _dateutil_tzlocal)
3838

3939

40-
cdef inline bint treat_tz_as_pytz(tzinfo tz):
40+
cdef inline bint treat_tz_as_pytz(object tz):
4141
return (hasattr(tz, '_utc_transition_times') and
4242
hasattr(tz, '_transition_info'))
4343

4444

45-
cdef inline bint treat_tz_as_dateutil(tzinfo tz):
45+
cdef inline bint treat_tz_as_dateutil(object tz):
4646
return hasattr(tz, '_trans_list') and hasattr(tz, '_trans_idx')
4747

4848

0 commit comments

Comments
 (0)