#NEWLINE# def calculate_location_indentations( self ) : #NEWLINE# #INDENT# line_widths = [ ] #NEWLINE# for s in ( [ self . statement ] + self . steps ) : #NEWLINE# #INDENT# string = ( ( s . keyword + ' ' ) + s . name ) #NEWLINE# line_widths . append ( len ( string ) ) #NEWLINE# #UNINDENT# max_line_width = max ( line_widths ) #NEWLINE# self . indentations = [ ( string - width ) for width in line_widths ]