title: Python gevent: pass multiple arguments to function called via pool.map
body: <p>How do I pass multiple arguments to a function I call through pool.map?</p>
  
  <p>My code:</p>
  
  <pre><code>import gevent
  from gevent.pool import Pool
  
  def process(param1, param2):
      return "dosomething"
  
  pool = Pool(10)
  jobs = [('arg1a', 'arg1b'), ('arg2a', 'arg2b')]
  
  # should pass arguments so that it results in these calls
  # process(param1=arg1a, param2=arg1b)
  # process(param1=arg2a, param2=arg2b)
  results = pool.map(process, jobs) # does not work
  </code></pre>