#NEWLINE# def write_field_begin( self , name , type , fid ) : #NEWLINE# #INDENT# if ( type == TType . BOOL ) : #NEWLINE# #INDENT# self . _bool_fid = fid #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _write_field_header ( CTYPES [ name ] , fid )