mailbox.MH.set_sequences()

set_sequences(sequences) Re-define the sequences that exist in the mailbox based upon sequences, a dictionary of names mapped to key lists, like returned by get_sequences().

warnings.formatwarning()

warnings.formatwarning(message, category, filename, lineno, line=None) Format a warning the standard way. This returns a string which may contain embedded newlines and ends in a newline. line is a line of source code to be included in the warning message; if line is not supplied, formatwarning() will try to read the line specified by filename and lineno.

msvcrt.setmode()

msvcrt.setmode(fd, flags) Set the line-end translation mode for the file descriptor fd. To set it to text mode, flags should be os.O_TEXT; for binary, it should be os.O_BINARY.

zipapp.get_interpreter()

zipapp.get_interpreter(archive) Return the interpreter specified in the #! line at the start of the archive. If there is no #! line, return None. The archive argument can be a filename or a file-like object open for reading in bytes mode. It is assumed to be at the start of the archive.

asyncio.Event.is_set()

is_set() Return True if and only if the internal flag is true.

binascii.Error

exception binascii.Error Exception raised on errors. These are usually programming errors.

zipfile.ZipInfo

class zipfile.ZipInfo(filename='NoName', date_time=(1980, 1, 1, 0, 0, 0)) Class used to represent information about a member of an archive. Instances of this class are returned by the getinfo() and infolist() methods of ZipFile objects. Most users of the zipfile module will not need to create these, but only use those created by this module. filename should be the full name of the archive member, and date_time should be a tuple containing six fields which describe the time of the last modifi

logging.handlers.WatchedFileHandler.emit()

emit(record) Outputs the record to the file, but first checks to see if the file has changed. If it has, the existing stream is flushed and closed and the file opened again, before outputting the record to the file.

wsgiref.simple_server.WSGIServer.get_app()

get_app() Returns the currently-set application callable.

imaplib.IMAP4.login()

IMAP4.login(user, password) Identify the client using a plaintext password. The password will be quoted.