email.mime.nonmultipart.MIMENonMultipart

class email.mime.nonmultipart.MIMENonMultipart Module: email.mime.nonmultipart A subclass of MIMEBase, this is an intermediate base class for MIME messages that are not multipart. The primary purpose of this class is to prevent the use of the attach() method, which only makes sense for multipart messages. If attach() is called, a MultipartConversionError exception is raised.

msilib.Database.Commit()

Database.Commit() Commit the changes pending in the current transaction, by calling MSIDatabaseCommit().

fractions.Fraction.__floor__()

__floor__() Returns the greatest int <= self. This method can also be accessed through the math.floor() function: >>> from math import floor >>> floor(Fraction(355, 113)) 3

threading.Thread.name

name A string used for identification purposes only. It has no semantics. Multiple threads may be given the same name. The initial name is set by the constructor.

mailbox.Mailbox.add()

add(message) Add message to the mailbox and return the key that has been assigned to it. Parameter message may be a Message instance, an email.message.Message instance, a string, a byte string, or a file-like object (which should be open in binary mode). If message is an instance of the appropriate format-specific Message subclass (e.g., if it’s an mboxMessage instance and this is an mbox instance), its format-specific information is used. Otherwise, reasonable defaults for format-specific i

contextlib.ContextDecorator

class contextlib.ContextDecorator A base class that enables a context manager to also be used as a decorator. Context managers inheriting from ContextDecorator have to implement __enter__ and __exit__ as normal. __exit__ retains its optional exception handling even when used as a decorator. ContextDecorator is used by contextmanager(), so you get this functionality automatically. Example of ContextDecorator: from contextlib import ContextDecorator class mycontext(ContextDecorator): def

selectors.SelectorKey.fileobj

fileobj File object registered.

imaplib.IMAP4_stream

class imaplib.IMAP4_stream(command) This is a subclass derived from IMAP4 that connects to the stdin/stdout file descriptors created by passing command to subprocess.Popen().

logging.handlers.BaseRotatingHandler.rotator

rotator If this attribute is set to a callable, the rotate() method delegates to this callable. The parameters passed to the callable are those passed to rotate(). New in version 3.3.

tkinter.tix.FileEntry

class tkinter.tix.FileEntry The FileEntry widget can be used to input a filename. The user can type in the filename manually. Alternatively, the user can press the button widget that sits next to the entry, which will bring up a file selection dialog.