readline.set_completer()

readline.set_completer([function]) Set or remove the completer function. If function is specified, it will be used as the new completer function; if omitted or None, any completer function already installed is removed. The completer function is called as function(text, state), for state in 0, 1, 2, ..., until it returns a non-string value. It should return the next possible completion starting with text. The installed completer function is invoked by the entry_func callback passed to rl_comp

curses.panel.Panel.set_userptr()

Panel.set_userptr(obj) Set the panel’s user pointer to obj. This is used to associate an arbitrary piece of data with the panel, and can be any Python object.

xml.dom.DOMImplementation.createDocument()

DOMImplementation.createDocument(namespaceUri, qualifiedName, doctype) Return a new Document object (the root of the DOM), with a child Element object having the given namespaceUri and qualifiedName. The doctype must be a DocumentType object created by createDocumentType(), or None. In the Python DOM API, the first two arguments can also be None in order to indicate that no Element child is to be created.

curses.ascii.isalpha()

curses.ascii.isalpha(c) Checks for an ASCII alphabetic character; it is equivalent to isupper(c) or islower(c).

lzma.LZMADecompressor.needs_input

needs_input False if the decompress() method can provide more decompressed data before requiring new uncompressed input. New in version 3.5.

os.path.ismount()

os.path.ismount(path) Return True if pathname path is a mount point: a point in a file system where a different file system has been mounted. On POSIX, the function checks whether path‘s parent, path/.., is on a different device than path, or whether path/.. and path point to the same i-node on the same device — this should detect mount points for all Unix and POSIX variants. On Windows, a drive letter root and a share UNC are always mount points, and for any other path GetVolumePathName is

socket.sethostname()

socket.sethostname(name) Set the machine’s hostname to name. This will raise an OSError if you don’t have enough rights. Availability: Unix. New in version 3.3.

ssl.SSLError.library

library A string mnemonic designating the OpenSSL submodule in which the error occurred, such as SSL, PEM or X509. The range of possible values depends on the OpenSSL version. New in version 3.3.

bytearray.partition()

bytearray.partition(sep) Split the sequence at the first occurrence of sep, and return a 3-tuple containing the part before the separator, the separator, and the part after the separator. If the separator is not found, return a 3-tuple containing a copy of the original sequence, followed by two empty bytes or bytearray objects. The separator to search for may be any bytes-like object.

zipfile.is_zipfile()

zipfile.is_zipfile(filename) Returns True if filename is a valid ZIP file based on its magic number, otherwise returns False. filename may be a file or file-like object too. Changed in version 3.1: Support for file and file-like objects.