OpenQuizz
Une application de gestion des contenus pédagogiques
UnknownTimeZoneError Class Reference
Inheritance diagram for UnknownTimeZoneError:
Collaboration diagram for UnknownTimeZoneError:

Detailed Description

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

The documentation for this class was generated from the following file: