title: Does using the `iter' function consume a generator?
body: <p>For example, if I do something like the following:</p>
  <pre class="lang-py prettyprint-override"><code>def test():
      yield from range(100)
  testing = test()
  iter(testing)
  </code></pre>
  <p>If the <code>iter</code> function returns an iterator, but the result of the function call isn't assigned to a variable, why does running <code>print(list(testing))</code> or similar return all the values? I thought converting a generator would consume the items inside.</p>