title: What is "generator object" in django?
body: <p>Am using Django voting package and when i use the method get_top() in the shell, it returns something like <strong>"generator object at 0x022f7AD0</strong>, i've never seen anything like this before, how do you access it and what is it?</p>
  
  <p>my code:</p>
  
  <pre><code>v=Vote.objects.get_top(myModel, limit=10, reversed=False)
  print v
  &lt;generator object at 0x022f7AD0&gt;
  </code></pre>
  
  <p>NB: I thought <strong>get_top</strong> will just return a nice list of myModel, which i can do something like <strong>v.name</strong> etc</p>