urllib.request.Request.data

Request.data The entity body for the request, or None if not specified. Changed in version 3.4: Changing value of Request.data now deletes “Content-Length” header if it was previously set or calculated.

doctest.OutputChecker.output_difference()

output_difference(example, got, optionflags) Return a string describing the differences between the expected output for a given example (example) and the actual output (got). optionflags is the set of option flags used to compare want and got.

socketserver.UnixStreamServer

class socketserver.UnixStreamServer(server_address, RequestHandlerClass, bind_and_activate=True) class socketserver.UnixDatagramServer(server_address, RequestHandlerClass, bind_and_activate=True) These more infrequently used classes are similar to the TCP and UDP classes, but use Unix domain sockets; they’re not available on non-Unix platforms. The parameters are the same as for TCPServer.

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.

xml.sax.xmlreader.Locator.getColumnNumber()

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

msilib.Record.SetString()

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

msilib.add_stream()

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

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.

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().

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.