文件操作 - exceptions.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/pytz/__pycache__/exceptions.cpython-311.pyc
编辑文件内容
� ���c# � � � d Z g d�Z G d� de� � Z G d� dee� � Z G d� de� � Z G d� d e� � Z G d � de� � ZdS ) z# Custom exceptions raised by pytz. )�UnknownTimeZoneError�InvalidTimeError�AmbiguousTimeError�NonExistentTimeErrorc � � e Zd ZdZdS )�Errorz8Base class for all exceptions raised by the pytz libraryN��__name__� __module__�__qualname__�__doc__� � �1/usr/lib/python3/dist-packages/pytz/exceptions.pyr r s � � � � � �B�B�B�Br r c � � 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 Nr r r r r r s � � � � � �� �&