title: Can I use map / imap / imap_unordered with functions with no arguments?
body: <p>Sometimes I need to use multiprocessing with functions with no arguments. I wish I could do something like:</p>
  
  <pre><code>from multiprocessing import Pool
  
  def f():  # no argument
      return 1
  
  # TypeError: f() takes no arguments (1 given)
  print Pool(2).map(f, range(10))
  </code></pre>
  
  <p>I could do <code>Process(target=f, args=())</code>, but I prefer the syntax of <code>map</code> / <code>imap</code> / <code>imap_unordered</code>. Is there a way to do that?</p>