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.

getopt.GetoptError

exception getopt.GetoptError This is raised when an unrecognized option is found in the argument list or when an option requiring an argument is given none. The argument to the exception is a string indicating the cause of the error. For long options, an argument given to an option which does not require one will also cause this exception to be raised. The attributes msg and opt give the error message and related option; if there is no specific option to which the exception relates, opt is a

socketserver.DatagramRequestHandler

class socketserver.DatagramRequestHandler These BaseRequestHandler subclasses override the setup() and finish() methods, and provide self.rfile and self.wfile attributes. The self.rfile and self.wfile attributes can be read or written, respectively, to get the request data or return data to the client.

socketserver.UDPServer

class socketserver.UDPServer(server_address, RequestHandlerClass, bind_and_activate=True) This uses datagrams, which are discrete packets of information that may arrive out of order or be lost while in transit. The parameters are the same as for TCPServer.

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.