errors.py

来自「mallet是自然语言处理、机器学习领域的一个开源项目。」· Python 代码 · 共 27 行

PY
27
字号
# Copyright (C) 2001,2002 Python Software Foundation# Author: barry@zope.com (Barry Warsaw)"""email package exception classes."""class MessageError(Exception):    """Base class for errors in the email package."""class MessageParseError(MessageError):    """Base class for message parsing errors."""class HeaderParseError(MessageParseError):    """Error while parsing headers."""class BoundaryError(MessageParseError):    """Couldn't find terminating boundary."""class MultipartConversionError(MessageError, TypeError):    """Conversion to a multipart is prohibited."""

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?