warnings.simplefilter()

warnings.simplefilter(action, category=Warning, lineno=0, append=False) Insert a simple entry into the list of warnings filter specifications. The meaning of the function parameters is as for filterwarnings(), but regular expressions are not needed as the filter inserted always matches any message in any module as long as the category and line number match.

pty.spawn()

pty.spawn(argv[, master_read[, stdin_read]]) Spawn a process, and connect its controlling terminal with the current process’s standard io. This is often used to baffle programs which insist on reading from the controlling terminal. The functions master_read and stdin_read should be functions which read from a file descriptor. The defaults try to read 1024 bytes each time they are called. Changed in version 3.4: spawn() now returns the status value from os.waitpid() on the child process.

urllib.parse.quote_plus()

urllib.parse.quote_plus(string, safe='', encoding=None, errors=None) Like quote(), but also replace spaces by plus signs, as required for quoting HTML form values when building up a query string to go into a URL. Plus signs in the original string are escaped unless they are included in safe. It also does not have safe default to '/'. Example: quote_plus('/El Niño/') yields '%2FEl+Ni%C3%B1o%2F'.

mailbox.Maildir.remove_folder()

remove_folder(folder) Delete the folder whose name is folder. If the folder contains any messages, a NotEmptyError exception will be raised and the folder will not be deleted.

ipaddress.IPv4Address.is_unspecified

is_unspecified True if the address is unspecified. See RFC 5735 (for IPv4) or RFC 2373 (for IPv6).

colorsys.rgb_to_hsv()

colorsys.rgb_to_hsv(r, g, b) Convert the color from RGB coordinates to HSV coordinates.

wsgiref.handlers.BaseHandler.origin_server

origin_server This attribute should be set to a true value if the handler’s _write() and _flush() are being used to communicate directly to the client, rather than via a CGI-like gateway protocol that wants the HTTP status in a special Status: header. This attribute’s default value is true in BaseHandler, but false in BaseCGIHandler and CGIHandler.

py_compile.main()

py_compile.main(args=None) Compile several source files. The files named in args (or on the command line, if args is None) are compiled and the resulting byte-code is cached in the normal manner. This function does not search a directory structure to locate source files; it only compiles files named explicitly. If '-' is the only parameter in args, the list of files is taken from standard input. Changed in version 3.2: Added support for '-'.

email.message.Message.__str__()

__str__() Equivalent to as_string(). Allows str(msg) to produce a string containing the formatted message.

xml.dom.NoModificationAllowedErr

exception xml.dom.NoModificationAllowedErr Raised on attempts to modify an object where modifications are not allowed (such as for read-only nodes).