#NEWLINE# def __iter__( self ) : #NEWLINE# #INDENT# if ( not b . _riter ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# for b in self . _riter : #NEWLINE# #INDENT# beer = Beer . by_id ( b ) #NEWLINE# assert beer , 'Eh?' #NEWLINE# ( yield beer ) #NEWLINE# #UNINDENT# self . _riter = None