title: Making an object's attributes iterable
body: <p>I'm getting returned a list with objects that have multiple attributes like so: </p>
  
  <pre><code>results = q.fetch(5)
  for p in results:
      print "%s %s, %d inches tall" % (p.first_name, p.last_name, p.height
  </code></pre>
  
  <p>Is it possible to iterate over these attributes so I can do something like <code>for x in p</code>. I want to check the value of each one, but I don't want to create a huge block of IF statements.</p>