B ª#a#ã@sfdZddddgZGdd„deƒZGdd„deeƒZGdd„deƒZGd d„deƒZGd d„deƒZd S) z# Custom exceptions raised by pytz. ÚUnknownTimeZoneErrorÚInvalidTimeErrorÚAmbiguousTimeErrorÚNonExistentTimeErrorc@seZdZdZdS)ÚErrorz8Base class for all exceptions raised by the pytz libraryN)Ú__name__Ú __module__Ú __qualname__Ú__doc__©r r ú6/tmp/pip-target-jgxl_w8r/lib/python/pytz/exceptions.pyr src@seZdZdZdS)raø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)rrrr r r r r rsc@seZdZdZdS)rz'Base class for invalid time exceptions.N)rrrr r r r r r&sc@seZdZdZdS)raXException 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)rrrr r r r r r*sc@seZdZdZdS)rzÑ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)rrrr r r r r r5sN) r Ú__all__Ú ExceptionrÚKeyErrorrrrrr r r r Ús