ok
Direktori : /lib/python3.6/site-packages/pytz/__pycache__/ |
Current File : //lib/python3.6/site-packages/pytz/__pycache__/exceptions.cpython-36.pyc |
3 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 � /usr/lib/python3.6/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