profile.Profile

class profile.Profile(timer=None, timeunit=0.0, subcalls=True, builtins=True) This class is normally only used if more precise control over profiling is needed than what the cProfile.run() function provides. A custom timer can be supplied for measuring how long code takes to run via the timer argument. This must be a function that returns a single number representing the current time. If the number is an integer, the timeunit specifies a multiplier that specifies the duration of each unit of

ipaddress.IPv4Network.prefixlen

prefixlen Length of the network prefix, in bits.

xml.parsers.expat.xmlparser.specified_attributes

xmlparser.specified_attributes If set to a non-zero integer, the parser will report only those attributes which were specified in the document instance and not those which were derived from attribute declarations. Applications which set this need to be especially careful to use what additional information is available from the declarations as needed to comply with the standards for the behavior of XML processors. By default, this attribute is false; it may be changed at any time.

object.__getnewargs__()

object.__getnewargs__() This method serve a similar purpose as __getnewargs_ex__() but for protocols 2 and newer. It must return a tuple of arguments args which will be passed to the __new__() method upon unpickling. In protocols 4 and newer, __getnewargs__() will not be called if __getnewargs_ex__() is defined.

tkinter.ttk.Treeview.prev()

prev(item) Returns the identifier of item‘s previous sibling, or ‘’ if item is the first child of its parent.

pathlib.Path.rmdir()

Path.rmdir() Remove this directory. The directory must be empty.

subprocess.TimeoutExpired.stdout

stdout Alias for output, for symmetry with stderr.

asyncio.StreamWriter.get_extra_info()

get_extra_info(name, default=None) Return optional transport information: see BaseTransport.get_extra_info().

asyncore.dispatcher.accept()

accept() Accept a connection. The socket must be bound to an address and listening for connections. The return value can be either None or a pair (conn, address) where conn is a new socket object usable to send and receive data on the connection, and address is the address bound to the socket on the other end of the connection. When None is returned it means the connection didn’t take place, in which case the server should just ignore this event and keep listening for further incoming connec

telnetlib.Telnet.read_until()

Telnet.read_until(expected, timeout=None) Read until a given byte string, expected, is encountered or until timeout seconds have passed. When no match is found, return whatever is available instead, possibly empty bytes. Raise EOFError if the connection is closed and no cooked data is available.