title: How to use an async for loop to iterate over a list?
body: <p>So I need to call an <code>async</code> function for all items in a list. This could be a list of URLs and an async function using <code>aiohttp</code> that gets a response back from every URL. Now obviously I cannot do the following:</p>
  
  <pre><code>async for url in ['www.google.com', 'www.youtube.com', 'www.aol.com']:
  </code></pre>
  
  <p>I can use a normal for loop but then my code will act synchronously and I lose the benefits and speed of having an <code>async</code> response fetching function.</p>
  
  <p>Is there any way I can convert a list such that the above works? I just need to change the list's <code>__iter__()</code> to a <code>__aiter__()</code> method right? Can this be achieved by subclassing a list? Maybe encapsulating it in a class?</p>