title: Python list and type error
body: <p>I've code this code in Python:</p>
  
  <pre><code>if type(data).__name__=='list':
                  print type(data).__name__
                  print ",".join(data)
  </code></pre>
  
  <p>And it give me this error:</p>
  
  <pre><code>    print ",".join(data)
  exceptions.TypeError: sequence item 0: expected string, list found
  </code></pre>
  
  <p>How's that possible?!?</p>
  
  <p>Thanks in advance for anyhelp.</p>