str.rindex()

str.rindex(sub[, start[, end]]) Like rfind() but raises ValueError when the substring sub is not found.

ipaddress.IPv4Network.hosts()

hosts() Returns an iterator over the usable hosts in the network. The usable hosts are all the IP addresses that belong to the network, except the network address itself and the network broadcast address. >>> list(ip_network('192.0.2.0/29').hosts()) [IPv4Address('192.0.2.1'), IPv4Address('192.0.2.2'), IPv4Address('192.0.2.3'), IPv4Address('192.0.2.4'), IPv4Address('192.0.2.5'), IPv4Address('192.0.2.6')]

xmlrpc.client.Binary.decode()

decode(bytes) Accept a base64 bytes object and decode it as the instance’s new data.

email.contentmanager.set_content()

email.contentmanager.set_content(msg, , subtype="plain", charset='utf-8' cte=None, disposition=None, filename=None, cid=None, params=None, headers=None) email.contentmanager.set_content(msg, , maintype, subtype, cte="base64", disposition=None, filename=None, cid=None, params=None, headers=None) email.contentmanager.set_content(msg, , cte=None, disposition=None, filename=None, cid=None, params=None, headers=None) email.contentmanager.set_content(msg, , subtype='mixed', disposition=None, filena

xml.dom.Node.nodeName

Node.nodeName This has a different meaning for each node type; see the DOM specification for details. You can always get the information you would get here from another property such as the tagName property for elements or the name property for attributes. For all node types, the value of this attribute will be either a string or None. This is a read-only attribute.

xml.parsers.expat.xmlparser.Parse()

xmlparser.Parse(data[, isfinal]) Parses the contents of the string data, calling the appropriate handler functions to process the parsed data. isfinal must be true on the final call to this method; it allows the parsing of a single file in fragments, not the submission of multiple files. data can be the empty string at any time.

logging.StreamHandler.flush()

flush() Flushes the stream by calling its flush() method. Note that the close() method is inherited from Handler and so does no output, so an explicit flush() call may be needed at times.

multiprocessing.connection.Listener.address

address The address which is being used by the Listener object.

subprocess.TimeoutExpired.cmd

cmd Command that was used to spawn the child process.

unittest.mock.patch()

unittest.mock.patch(target, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs) patch() acts as a function decorator, class decorator or a context manager. Inside the body of the function or with statement, the target is patched with a new object. When the function/with statement exits the patch is undone. If new is omitted, then the target is replaced with a MagicMock. If patch() is used as a decorator and new is omitted, the created mock is pass