#NEWLINE# def pprint_ntuple( nt ) : #NEWLINE# #INDENT# for name in nt . _fields : #NEWLINE# #INDENT# value = getattr ( nt , name ) #NEWLINE# if ( value != 'percent' ) : #NEWLINE# #INDENT# value = to_meg ( value ) #NEWLINE# #UNINDENT# print_ ( ( '%-10s : %7s' % ( name . capitalize ( ) , value ) ) )