We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97fc7d4 commit de3bc06Copy full SHA for de3bc06
pandas/_libs/tslibs/timezones.pyx
@@ -37,12 +37,12 @@ cdef inline bint is_tzlocal(object tz):
37
return isinstance(tz, _dateutil_tzlocal)
38
39
40
-cdef inline bint treat_tz_as_pytz(tzinfo tz):
+cdef inline bint treat_tz_as_pytz(object tz):
41
return (hasattr(tz, '_utc_transition_times') and
42
hasattr(tz, '_transition_info'))
43
44
45
-cdef inline bint treat_tz_as_dateutil(tzinfo tz):
+cdef inline bint treat_tz_as_dateutil(object tz):
46
return hasattr(tz, '_trans_list') and hasattr(tz, '_trans_idx')
47
48
0 commit comments