#NEWLINE# def show_warnings( self ) : #NEWLINE# #INDENT# for ( filename , line_num , msg ) in sorted ( self . warnings ) : #NEWLINE# #INDENT# if ( line_num == 0 ) : #NEWLINE# #INDENT# print ( '{}: {}' . format ( filename , msg ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( '{}:{}: {}' . format ( filename , line_num , msg ) )