#NEWLINE# def get_next_tag( self ) : #NEWLINE# #INDENT# f = self . f #NEWLINE# try : #NEWLINE# #INDENT# tag_type = get_ui8 ( f ) #NEWLINE# #UNINDENT# except EndOfFile : #NEWLINE# #INDENT# raise EndOfTags #NEWLINE# #UNINDENT# tag_klass = self . tag_type_to_class ( tag_type ) #NEWLINE# tag = tag_klass ( self , f ) #NEWLINE# tag . parse ( ) #NEWLINE# return tag