Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/dateutil/tz/__init__.py: 67%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from . import _tzpath
2from ._tzpath import reset_tzpath
3from .tz import *
4from .tz import __doc__
6__all__ = [
7 "tzutc",
8 "tzoffset",
9 "tzlocal",
10 "tzfile",
11 "tzrange",
12 "tzstr",
13 "tzical",
14 "tzwin",
15 "tzwinlocal",
16 "gettz",
17 "enfold",
18 "datetime_ambiguous",
19 "datetime_exists",
20 "resolve_imaginary",
21 "available_iana_timezones",
22 "UTC",
23 "TZPATH",
24 "reset_tzpath",
25 "DeprecatedTzFormatWarning",
26 "DeprecatedTzKeyWarning",
27]
30def __getattr__(name):
31 if name == "TZPATH":
32 return _tzpath.TZPATH
33 else:
34 raise AttributeError(
35 "Module %s has no attribute %s" % (repr(__name__), repr(name))
36 )
39def __dir__():
40 return sorted(list(globals()) + ["TZPATH"])
43class DeprecatedTzFormatWarning(Warning):
44 """Warning raised when time zones are parsed from deprecated formats."""