title: Python nested context manager on multiple lines
body: <p>In Python 2.6, we used to format our nested context manager that way:</p>
  
  <pre><code>with nested(
      context1,
      context2
  ) as a, b:
      pass
  </code></pre>
  
  <p>From Python 2.7 and on, <code>nested</code> is deprecated. I've seen lots of example of multiple context manager on a single line, but I can't find a syntax that allow them on multiple lines. How would you do this?</p>
  
  <pre><code># That's working fine
  with context1 as a, context2 as b:
      pass
  
  # But how do we make it multine?
  # These are not working
  with (
      context1,
      context2
  ) as a, b:
      pass
  
  with context1 as a,
      context2 as b:
      pass
  </code></pre>