profile.Profile.run()

run(cmd) Profile the cmd via exec().

types.DynamicClassAttribute()

types.DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None) Route attribute access on a class to __getattr__. This is a descriptor, used to define attributes that act differently when accessed through an instance and through a class. Instance access remains normal, but access to an attribute through a class will be routed to the class’s __getattr__ method; this is done by raising AttributeError. This allows one to have properties active on an instance, and have virtual attributes

asyncio.StreamWriter

class asyncio.StreamWriter(transport, protocol, reader, loop) Wraps a Transport. This exposes write(), writelines(), can_write_eof(), write_eof(), get_extra_info() and close(). It adds drain() which returns an optional Future on which you can wait for flow control. It also adds a transport attribute which references the Transport directly. This class is not thread safe. transport Transport. can_write_eof() Return True if the transport supports write_eof(), False if not. See WriteTra

tkinter.Widget.tk.deletefilehandler()

Widget.tk.deletefilehandler(file) Unregisters a file handler.

ssl.SSLContext.load_dh_params()

SSLContext.load_dh_params(dhfile) Load the key generation parameters for Diffie-Helman (DH) key exchange. Using DH key exchange improves forward secrecy at the expense of computational resources (both on the server and on the client). The dhfile parameter should be the path to a file containing DH parameters in PEM format. This setting doesn’t apply to client sockets. You can also use the OP_SINGLE_DH_USE option to further improve security. New in version 3.3.

threading.RLock.release()

release() Release a lock, decrementing the recursion level. If after the decrement it is zero, reset the lock to unlocked (not owned by any thread), and if any other threads are blocked waiting for the lock to become unlocked, allow exactly one of them to proceed. If after the decrement the recursion level is still nonzero, the lock remains locked and owned by the calling thread. Only call this method when the calling thread owns the lock. A RuntimeError is raised if this method is called wh

str.lstrip()

str.lstrip([chars]) Return a copy of the string with leading characters removed. The chars argument is a string specifying the set of characters to be removed. If omitted or None, the chars argument defaults to removing whitespace. The chars argument is not a prefix; rather, all combinations of its values are stripped: >>> ' spacious '.lstrip() 'spacious ' >>> 'www.example.com'.lstrip('cmowz.') 'example.com'

importlib.abc.SourceLoader.path_stats()

path_stats(path) Optional abstract method which returns a dict containing metadata about the specified path. Supported dictionary keys are: 'mtime' (mandatory): an integer or floating-point number representing the modification time of the source code; 'size' (optional): the size in bytes of the source code. Any other keys in the dictionary are ignored, to allow for future extensions. If the path cannot be handled, OSError is raised. New in version 3.3. Changed in version 3.4: Raise OS

collections.abc.Mapping

class collections.abc.Mapping class collections.abc.MutableMapping ABCs for read-only and mutable mappings.

ipaddress.ip_network()

ipaddress.ip_network(address, strict=True) Return an IPv4Network or IPv6Network object depending on the IP address passed as argument. address is a string or integer representing the IP network. Either IPv4 or IPv6 networks may be supplied; integers less than 2**32 will be considered to be IPv4 by default. strict is passed to IPv4Network or IPv6Network constructor. A ValueError is raised if address does not represent a valid IPv4 or IPv6 address, or if the network has host bits set. >>