original_docstring: Set fixed-width attributes.
  
          Previously calculated values are invalid if the number of visible
          columns changes.  Call _reset_width_info() in that case.
          
docstring: Set fixed-width attributes.
  Previously calculated values are invalid if the number of visible
  columns changes.  Call _reset_width_info() in that case.
docstring_tokens: Set fixed - width attributes . Previously calculated values are invalid if the number of visible columns changes . Call _reset_width_info () in that case .
code: def _set_fixed_widths(self):
          """Set fixed-width attributes.
  
          Previously calculated values are invalid if the number of visible
          columns changes.  Call _reset_width_info() in that case.
          """
          visible = self.visible_columns
          ngaps = len(visible) - 1
          width_separtor = len(self.style["separator_"]) * ngaps
          lgr.debug("Calculated separator width as %d", width_separtor)
  
          autowidth_columns = self.autowidth_columns
          fields = self.fields
          width_fixed = sum([sum(fields[c].width for c in visible
                                 if c not in autowidth_columns),
                             width_separtor])
          lgr.debug("Calculated fixed width as %d", width_fixed)
  
          self.width_separtor = width_separtor
          self.width_fixed = width_fixed
code_tokens: def _set_fixed_widths ( self ) : visible = self . visible_columns ngaps = len ( visible ) - 1 width_separtor = len ( self . style [ "separator_" ] ) * ngaps lgr . debug ( "Calculated separator width as %d" , width_separtor ) autowidth_columns = self . autowidth_columns fields = self . fields width_fixed = sum ( [ sum ( fields [ c ] . width for c in visible if c not in autowidth_columns ) , width_separtor ] ) lgr . debug ( "Calculated fixed width as %d" , width_fixed ) self . width_separtor = width_separtor self . width_fixed = width_fixed
short_docstring: Set fixed-width attributes.
short_docstring_tokens: Set fixed - width attributes .
comment: """Set fixed-width attributes.
  
          Previously calculated values are invalid if the number of visible
          columns changes.  Call _reset_width_info() in that case.
          """