Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/pytz/__pycache__/ |
Upload File : |
o �<<b# � @ sb d Z g d�ZG dd� de�ZG dd� dee�ZG dd� de�ZG dd � d e�ZG d d� de�ZdS ) z# Custom exceptions raised by pytz. )�UnknownTimeZoneError�InvalidTimeError�AmbiguousTimeError�NonExistentTimeErrorc @ � e Zd ZdZdS )�Errorz8Base class for all exceptions raised by the pytz libraryN��__name__� __module__�__qualname__�__doc__� r r �1/usr/lib/python3/dist-packages/pytz/exceptions.pyr � r c @ r )r a� Exception raised when pytz is passed an unknown timezone. >>> isinstance(UnknownTimeZoneError(), LookupError) True This class is actually a subclass of KeyError to provide backwards compatibility with code relying on the undocumented behavior of earlier pytz releases. >>> isinstance(UnknownTimeZoneError(), KeyError) True And also a subclass of pytz.exceptions.Error, as are other pytz exceptions. >>> isinstance(UnknownTimeZoneError(), Error) True Nr r r r r r s r c @ r )r z'Base class for invalid time exceptions.Nr r r r r r &