#NEWLINE# def register_functions( self , lookup ) : #NEWLINE# #INDENT# for ( c , v ) in lookup : #NEWLINE# #INDENT# ( parse_f , stream_f ) = lookup #NEWLINE# self . parse_lookup [ c ] = parse_f #NEWLINE# self . stream_lookup [ c ] = stream_f