404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.190.217.197: ~ $
__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"])

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 703 B 0644
_common.py File 5.2 KB 0644
_tzpath.py File 4.96 KB 0644
_zoneinfo.py File 23.75 KB 0644