/usr/local/lib/python3.6/site-packages/pytz/__pycache__
Edit: /usr/local/lib/python3.6/site-packages/pytz/__pycache__/exceptions.cpython-36.pyc (2170B)
3
8%Eg# ã @ sf d Z ddddgZG dd„ deƒZG dd„ deeƒZG dd„ deƒZG d d„ deƒZG d
d„ deƒZdS )z#
Custom exceptions raised by pytz.
ÚUnknownTimeZoneErrorÚInvalidTimeErrorÚAmbiguousTimeErrorÚNonExistentTimeErrorc @ s e Zd ZdZdS )ÚErrorz8Base class for all exceptions raised by the pytz libraryN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r
r
ú9/usr/local/lib/python3.6/site-packages/pytz/exceptions.pyr s r c @ s e Zd ZdZdS )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
N)r r r r r
r
r
r r s c @ s e Zd ZdZdS )r z'Base class for invalid time exceptions.N)r r r r r
r
r
r r &