codecs.lookup_error()

codecs.lookup_error(name) Return the error handler previously registered under the name name. Raises a LookupError in case the handler cannot be found.

logging.handlers.QueueListener.handle()

handle(record) Handle a record. This just loops through the handlers offering them the record to handle. The actual object passed to the handlers is that which is returned from prepare().

ssl.SSLContext.set_default_verify_paths()

SSLContext.set_default_verify_paths() Load a set of default “certification authority” (CA) certificates from a filesystem path defined when building the OpenSSL library. Unfortunately, there’s no easy way to know whether this method succeeds: no error is returned if no certificates are to be found. When the OpenSSL library is provided as part of the operating system, though, it is likely to be configured properly.

msilib.add_stream()

msilib.add_stream(database, name, path) Add the file path into the _Stream table of database, with the stream name name.

msilib.Record.SetString()

Record.SetString(field, value) Set field to value through MsiRecordSetString(). field must be an integer; value a string.

xml.sax.xmlreader.Locator.getColumnNumber()

Locator.getColumnNumber() Return the column number where the current event begins.

csv.Sniffer.has_header()

has_header(sample) Analyze the sample text (presumed to be in CSV format) and return True if the first row appears to be a series of column headers.

binascii.a2b_hex()

binascii.a2b_hex(hexstr) binascii.unhexlify(hexstr) Return the binary data represented by the hexadecimal string hexstr. This function is the inverse of b2a_hex(). hexstr must contain an even number of hexadecimal digits (which can be upper or lower case), otherwise an Error exception is raised.

importlib.abc.Loader.module_repr()

module_repr(module) A legacy method which when implemented calculates and returns the given module’s repr, as a string. The module type’s default repr() will use the result of this method as appropriate. New in version 3.3. Changed in version 3.4: Made optional instead of an abstractmethod. Deprecated since version 3.4: The import machinery now takes care of this automatically.

socket.socket.dup()

socket.dup() Duplicate the socket. The newly created socket is non-inheritable. Changed in version 3.4: The socket is now non-inheritable.