title: Is my python generator function really lazy?
body: <p>Simple generator function I made:</p>
  
  <pre><code>def myfunc(text):
      for i in text[::-1]:
          yield(i)
  
  for i in myfunc("anytext"):
      print(i)
  </code></pre>
  
  <p>will <code>text[::-1]</code> inside generator function will be evaluated first or it will be evaluated lazily (expected from generator function) ? </p>