readline.add_history()

readline.add_history(line) Append line to the history buffer, as if it was the last line typed. This calls add_history() in the underlying library.

datetime.date.__format__()

date.__format__(format) Same as date.strftime(). This makes it possible to specify a format string for a date object when using str.format(). For a complete list of formatting directives, see strftime() and strptime() Behavior.

concurrent.futures.Future.set_exception()

set_exception(exception) Sets the result of the work associated with the Future to the Exception exception. This method should only be used by Executor implementations and unit tests.

py_compile.PyCompileError

exception py_compile.PyCompileError Exception raised when an error occurs while attempting to compile the file.

ipaddress.IPv6Network.num_addresses

num_addresses

termios.tcflow()

termios.tcflow(fd, action) Suspend or resume input or output on file descriptor fd. The action argument can be TCOOFF to suspend output, TCOON to restart output, TCIOFF to suspend input, or TCION to restart input.

textwrap.fill()

textwrap.fill(text, width=70, **kwargs) Wraps the single paragraph in text, and returns a single string containing the wrapped paragraph. fill() is shorthand for "\n".join(wrap(text, ...)) In particular, fill() accepts exactly the same keyword arguments as wrap().

traceback.print_exc()

traceback.print_exc(limit=None, file=None, chain=True) This is a shorthand for print_exception(*sys.exc_info(), limit, file, chain).

xmlrpc.server.DocCGIXMLRPCRequestHandler.set_server_title()

DocCGIXMLRPCRequestHandler.set_server_title(server_title) Set the title used in the generated HTML documentation. This title will be used inside the HTML “title” element.

urllib.request.ProxyDigestAuthHandler.http_error_407()

ProxyDigestAuthHandler.http_error_407(req, fp, code, msg, hdrs) Retry the request with authentication information, if available.