reprlib.Repr.repr()

Repr.repr(obj) The equivalent to the built-in repr() that uses the formatting imposed by the instance.

smtpd.SMTPChannel.rcpttos

rcpttos Holds a list of strings containing the addresses identified in the “RCPT TO:” lines from the client.

codecs.IncrementalDecoder.decode()

decode(object[, final]) Decodes object (taking the current state of the decoder into account) and returns the resulting decoded object. If this is the last call to decode() final must be true (the default is false). If final is true the decoder must decode the input completely and must flush all buffers. If this isn’t possible (e.g. because of incomplete byte sequences at the end of the input) it must initiate error handling just like in the stateless case (which might raise an exception).

operator.__and__()

operator.__and__(a, b) Return the bitwise and of a and b.

traceback.TracebackException.from_exception()

classmethod from_exception(exc, *, limit=None, lookup_lines=True, capture_locals=False) Capture an exception for later rendering. limit, lookup_lines and capture_locals are as for the StackSummary class. Note that when locals are captured, they are also shown in the traceback.

curses.window.keypad()

window.keypad(yes) If yes is 1, escape sequences generated by some keys (keypad, function keys) will be interpreted by curses. If yes is 0, escape sequences will be left as is in the input stream.

gettext.NullTranslations.gettext()

gettext(message) If a fallback has been set, forward gettext() to the fallback. Otherwise, return the translated message. Overridden in derived classes.

doctest.DocTestFailure

exception doctest.DocTestFailure(test, example, got) An exception raised by DocTestRunner to signal that a doctest example’s actual output did not match its expected output. The constructor arguments are used to initialize the attributes of the same names.

logging.handlers.SocketHandler

class logging.handlers.SocketHandler(host, port) Returns a new instance of the SocketHandler class intended to communicate with a remote machine whose address is given by host and port. Changed in version 3.4: If port is specified as None, a Unix domain socket is created using the value in host - otherwise, a TCP socket is created. close() Closes the socket. emit() Pickles the record’s attribute dictionary and writes it to the socket in binary format. If there is an error with the

zipfile.ZipInfo.create_version

ZipInfo.create_version PKZIP version which created ZIP archive.