class_docstr: Pool using MPI processes as workers.
docstr: Call *func* with arguments *args* and keyword arguments *kwds*.
  
  Equivalent to ``func(*args, **kwds)``.
docstr_tok: ["Call","*","func","*","with","arguments","*","args","*","and","keyword","arguments","*","kwds","*",".","Equivalent","to","``","func","(","*","args",",","*","*","kwds",")","``","."]
code: def apply(self, func, args=(), kwds={}):  # noqa: B006
      """Call *func* with arguments *args* and keyword arguments *kwds*.
  
      Equivalent to ``func(*args, **kwds)``.
      """
      # pylint: disable=dangerous-default-value
      future = self.executor.submit(func, *args, **kwds)
      return future.result()
  
imports: from os import cpu_count
  import functools
  import operator
  import threading
  import warnings
  import weakref
  from ..None import futures
label_desc: Use image node_id 2 for calling the Pool obj's underlying member method code with example usage: obj.apply(func, args, kwds) and returns: future