title: Python `yield from`, or return a generator?
body: <p>I wrote this simple piece of code:</p>
  
  <pre><code>def mymap(func, *seq):
    return (func(*args) for args in zip(*seq))
  </code></pre>
  
  <p>Should I use the 'return' statement as above to return a generator, or use a 'yield from' instruction like this:</p>
  
  <pre><code>def mymap(func, *seq):
    yield from (func(*args) for args in zip(*seq))
  </code></pre>
  
  <p>and beyond the technical difference between 'return' and 'yield from', which is the better approach the in general case?</p>