urllib.request.HTTPErrorProcessor

class urllib.request.HTTPErrorProcessor Process HTTP error responses.

mailbox.Mailbox.flush()

flush() Write any pending changes to the filesystem. For some Mailbox subclasses, changes are always written immediately and flush() does nothing, but you should still make a habit of calling this method.

cmd.Cmd.misc_header

Cmd.misc_header The header to issue if the help output has a section for miscellaneous help topics (that is, there are help_*() methods without corresponding do_*() methods).

curses.has_key()

curses.has_key(ch) Take a key value ch, and return True if the current terminal type recognizes a key with that value.

os.getpid()

os.getpid() Return the current process id.

mimetypes.common_types

mimetypes.common_types Dictionary mapping filename extensions to non-standard, but commonly found MIME types.

inspect.getcoroutinelocals()

inspect.getcoroutinelocals(coroutine) This function is analogous to getgeneratorlocals(), but works for coroutine objects created by async def functions. New in version 3.5.

xml.parsers.expat.xmlparser.UnparsedEntityDeclHandler()

xmlparser.UnparsedEntityDeclHandler(entityName, base, systemId, publicId, notationName) Called for unparsed (NDATA) entity declarations. This is only present for version 1.2 of the Expat library; for more recent versions, use EntityDeclHandler instead. (The underlying function in the Expat library has been declared obsolete.)

argparse.ArgumentParser.parse_args()

ArgumentParser.parse_args(args=None, namespace=None) Convert argument strings to objects and assign them as attributes of the namespace. Return the populated namespace. Previous calls to add_argument() determine exactly what objects are created and how they are assigned. See the documentation for add_argument() for details. By default, the argument strings are taken from sys.argv, and a new empty Namespace object is created for the attributes.

cmd.Cmd.use_rawinput

Cmd.use_rawinput A flag, defaulting to true. If true, cmdloop() uses input() to display a prompt and read the next command; if false, sys.stdout.write() and sys.stdin.readline() are used. (This means that by importing readline, on systems that support it, the interpreter will automatically support Emacs-like line editing and command-history keystrokes.)