unittest.TestResult

class unittest.TestResult This class is used to compile information about which tests have succeeded and which have failed. A TestResult object stores the results of a set of tests. The TestCase and TestSuite classes ensure that results are properly recorded; test authors do not need to worry about recording the outcome of tests. Testing frameworks built on top of unittest may want access to the TestResult object generated by running a set of tests for reporting purposes; a TestResult instan

callable()

callable(object) Return True if the object argument appears callable, False if not. If this returns true, it is still possible that a call fails, but if it is false, calling object will never succeed. Note that classes are callable (calling a class returns a new instance); instances are callable if their class has a __call__() method. New in version 3.2: This function was first removed in Python 3.0 and then brought back in Python 3.2.

subprocess.CompletedProcess.args

args The arguments used to launch the process. This may be a list or a string.

audioop.max()

audioop.max(fragment, width) Return the maximum of the absolute value of all samples in a fragment.

tkinter.tix.PopupMenu

class tkinter.tix.PopupMenu The PopupMenu widget can be used as a replacement of the tk_popup command. The advantage of the Tix PopupMenu widget is it requires less application code to manipulate.

multiprocessing.SimpleQueue.put()

put(item) Put item into the queue.

subprocess.Popen.pid

Popen.pid The process ID of the child process. Note that if you set the shell argument to True, this is the process ID of the spawned shell.

EnvironmentError

exception EnvironmentError

wsgiref.simple_server.WSGIRequestHandler

class wsgiref.simple_server.WSGIRequestHandler(request, client_address, server) Create an HTTP handler for the given request (i.e. a socket), client_address (a (host,port) tuple), and server (WSGIServer instance). You do not need to create instances of this class directly; they are automatically created as needed by WSGIServer objects. You can, however, subclass this class and supply it as a handler_class to the make_server() function. Some possibly relevant methods for overriding in subclas

cmath.log()

cmath.log(x[, base]) Returns the logarithm of x to the given base. If the base is not specified, returns the natural logarithm of x. There is one branch cut, from 0 along the negative real axis to -∞, continuous from above.