ctypes.CDLL

class ctypes.CDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False) Instances of this class represent loaded shared libraries. Functions in these libraries use the standard C calling convention, and are assumed to return int.

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.

mailbox.MaildirMessage.set_subdir()

set_subdir(subdir) Set the subdirectory the message should be stored in. Parameter subdir must be either “new” or “cur”.

ipaddress.IPv4Network.exploded

exploded A string representation of the network, with the mask in prefix notation. with_prefixlen and compressed are always the same as str(network). exploded uses the exploded form the network address.

bdb.Bdb.user_return()

user_return(frame, return_value) This method is called from dispatch_return() when stop_here() yields True.

tracemalloc.StatisticDiff.count

count Number of memory blocks in the new snapshot (int): 0 if the memory blocks have been released in the new snapshot.