title: How to get all keys from Ordered Dictionary?
body: <pre><code>def izracunaj_dohvatljiva_stanja(funkcije_prijelaza):
      dohvatljiva = []
      dohvatljiva.extend(pocetno_stanje)
      pomocna = collections.OrderedDict
      for i in xrange(len(dohvatljiva)):
          for temp in pomocna.keys(): &lt;-----------------------------------this line
              if temp.split(',')[0] == dohvatljiva[i]:
                  if funkcije_prijelaza.get(temp) not in dohvatljiva:
                      dohvatljiva.extend(funkcije_prijelaza.get(temp))
  </code></pre>
  
  <p>I am trying to get all keys from ordered dict so i can iterate over it but after running error occurs:
  <a href="http://i.stack.imgur.com/p5HUm.jpg" rel="noreferrer">click for pic</a></p>