def __iter__(self):
<EOL>self._iter_row = <NUM_LIT:0><EOL>self._iter_nrows = self.get_nrows()<EOL>self._buffer_iter_rows(<NUM_LIT:0>)<EOL>return self<EOL>
Get an iterator for a table

e.g.
f=fitsio.FITS(fname)
hdu1 = f[1]
for row in hdu1:
    ...