AlkantarClanX12
Current Path : /opt/alt/python37/lib/python3.7/site-packages/pytz/__pycache__/ |
Current File : //opt/alt/python37/lib/python3.7/site-packages/pytz/__pycache__/exceptions.cpython-37.pyc |
B 6��X5 � @ sT d Z ddddgZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Zd S ) z# Custom exceptions raised by pytz. �UnknownTimeZoneError�InvalidTimeError�AmbiguousTimeError�NonExistentTimeErrorc @ s e Zd ZdZdS )r af 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 N)�__name__� __module__�__qualname__�__doc__� r r �@/opt/alt/python37/lib/python3.7/site-packages/pytz/exceptions.pyr s c @ s e Zd ZdZdS )r z'Base class for invalid time exceptions.N)r r r r r r r r r s c @ s e Zd ZdZdS )r aX Exception raised when attempting to create an ambiguous wallclock time. At the end of a DST transition period, a particular wallclock time will occur twice (once before the clocks are set back, once after). Both possibilities may be correct, unless further information is supplied. See DstTzInfo.normalize() for more info N)r r r r r r r r r s c @ s e Zd ZdZdS )r z�Exception raised when attempting to create a wallclock time that cannot exist. At the start of a DST transition period, the wallclock time jumps forward. The instants jumped over never occur. N)r r r r r r r r r * s N)r �__all__�KeyErrorr � Exceptionr r r r r r r �<module> s