8.2.34 | Linux | www-data (uid:33)
👁 View: nonmultipart.py
📁 //snap/core20/current/lib/python3.8/email/mime/nonmultipart.py
# Copyright (C) 2002-2006 Python Software Foundation # Author: Barry Warsaw # Contact: email-sig@python.org """Base class for MIME type messages that are not multipart.""" __all__ = ['MIMENonMultipart'] from email import errors from email.mime.base import MIMEBase class MIMENonMultipart(MIMEBase): """Base class for MIME non-multipart type messages.""" def attach(self, payload): # The public API prohibits attaching multiple subparts to MIMEBase # derived subtypes since none of them are, by definition, of content # type multipart/* raise errors.MultipartConversionError( 'Cannot attach additional subparts to non-multipart/*')
← Back
💻 Terminal
📤 Upload
📂
Click or Drag & Drop
📁 //snap/core20/current/lib/python3.8/email/mime
NameSizePermModifiedActions
📁 __pycache__/-07552026-09-01 05:21🗑 Delete
__init__.py0B06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
application.py1.3K06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
audio.py2.7K06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
base.py916B06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
image.py1.8K06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
message.py1.3K06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
multipart.py1.6K06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
nonmultipart.py691B06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
text.py1.4K06442026-03-03 11:49👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del