title: AttributeError: 'str' object has no attribute '__name__'
body: <p>What is causing this error? Isn't it possible commenting out lines like this inside code?</p>
  
  <pre><code>for i in (Class_1, """Class_2, Class_3"""):
      name = i.__name__
  </code></pre>
  
  <p><code>Class_1</code>, <code>Class_2</code> and <code>Class_3</code> are classes declared before the upper code.</p>
  
  <p>Error output:</p>
  
  <pre><code>&gt; Traceback (most recent call last):
    File "", line 2, in &lt;module&gt;
      name = i.__name__
  AttributeError: 'str' object has no attribute '__name__'
  
  Process finished with exit code 1
  </code></pre>
  
  <blockquote>
    <p>Error message line edited to fit the example code</p>
  </blockquote>