def compute ( args ) : x , y , params = args return x , y , mandelbrot ( x , y , params )
python multiprocessing pool apply arg
Callable function for the multiprocessing pool .
def compute(args):
    x, y, params = args
    """Callable function for the multiprocessing pool."""
    return x, y, mandelbrot(x, y, params)