mailbox.BabylMessage.set_labels()

set_labels(labels) Set the list of labels on the message to labels.

unittest.TestCase.debug()

debug() Run the test without collecting the result. This allows exceptions raised by the test to be propagated to the caller, and can be used to support running tests under a debugger.

datetime.datetime.strftime()

datetime.strftime(format) Return a string representing the date and time, controlled by an explicit format string. For a complete list of formatting directives, see strftime() and strptime() Behavior.

asyncio.DatagramProtocol.error_received()

DatagramProtocol.error_received(exc) Called when a previous send or receive operation raises an OSError. exc is the OSError instance. This method is called in rare conditions, when the transport (e.g. UDP) detects that a datagram couldn’t be delivered to its recipient. In many conditions though, undeliverable datagrams will be silently dropped.

smtpd.PureProxy

class smtpd.PureProxy(localaddr, remoteaddr) Create a new pure proxy server. Arguments are as per SMTPServer. Everything will be relayed to remoteaddr. Note that running this has a good chance to make you into an open relay, so please be careful.

logging.Handler.createLock()

Handler.createLock() Initializes a thread lock which can be used to serialize access to underlying I/O functionality which may not be threadsafe.

turtle.ScrolledCanvas

class turtle.ScrolledCanvas(master) Parameters: master – some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas with scrollbars added Used by class Screen, which thus automatically provides a ScrolledCanvas as playground for the turtles.

tty.setraw()

tty.setraw(fd, when=termios.TCSAFLUSH) Change the mode of the file descriptor fd to raw. If when is omitted, it defaults to termios.TCSAFLUSH, and is passed to termios.tcsetattr().

csv.get_dialect()

csv.get_dialect(name) Return the dialect associated with name. An Error is raised if name is not a registered dialect name. This function returns an immutable Dialect.

select.kevent.ident

kevent.ident Value used to identify the event. The interpretation depends on the filter but it’s usually the file descriptor. In the constructor ident can either be an int or an object with a fileno() method. kevent stores the integer internally.