Usage of iterkeys in Python
<p>Refer to <a href="http://www.ibm.com/developerworks/opensource/library/os-python7/" rel="nofollow">Listing 9. Iteration and a dictionary</a></p>

<pre><code>&gt;&gt;&gt; d = {0: 'zero', 3: 'a tuple', 'two': [0, 1, 2], 'one': 1}
&gt;&gt;&gt; for k in d.iterkeys():
... print(d[k])
  File "&lt;stdin&gt;", line 2
    print(d[k])
        ^
IndentationError: expected an indented block
</code></pre>

<p>Why?</p>
