Isinstance() doesn't work
<p>For some reason I can't get isinstance() to work on Python 2.7.2</p>

<pre><code>def print_lol(the_list, indent=False, level=0):
    for item in the_list:
        if isinstance(item, list):
            print_lol(item, indent, level+1)
        else:
            print(item)
</code></pre>

<p>And when I compile and run it:</p>

<pre><code>&gt;&gt;&gt; list = ["q", "w", ["D", ["E", "I"]]]
&gt;&gt;&gt; print_lol(list)
</code></pre>

<p>I get the error message:</p>

<pre><code>if isinstance(item, list):
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
</code></pre>

<p>What am I mising?</p>
