PHP 8.2.30
Preview: __init__.py Size: 703 B
/opt/alt/python312/lib64/python3.12/zoneinfo/__init__.py

__all__ = [
    "ZoneInfo",
    "reset_tzpath",
    "available_timezones",
    "TZPATH",
    "ZoneInfoNotFoundError",
    "InvalidTZPathWarning",
]

from . import _tzpath
from ._common import ZoneInfoNotFoundError

try:
    from _zoneinfo import ZoneInfo
except ImportError:  # pragma: nocover
    from ._zoneinfo import ZoneInfo

reset_tzpath = _tzpath.reset_tzpath
available_timezones = _tzpath.available_timezones
InvalidTZPathWarning = _tzpath.InvalidTZPathWarning


def __getattr__(name):
    if name == "TZPATH":
        return _tzpath.TZPATH
    else:
        raise AttributeError(f"module {__name__!r} has no attribute {name!r}")


def __dir__():
    return sorted(list(globals()) + ["TZPATH"])

Directory Contents

Dirs: 1 × Files: 4

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-10 08:06:51
Edit Download
5.17 KB lrw-r--r-- 2026-01-08 18:12:54
Edit Download
5.26 KB lrw-r--r-- 2026-01-08 18:12:54
Edit Download
24.10 KB lrw-r--r-- 2026-01-08 18:12:54
Edit Download
703 B lrw-r--r-- 2026-01-08 18:12:54
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).