code: def _split_lines(self):
          '''Creates the parsed_lines dict which keeps all record data in document order indexed by the record type.'''
          parsed_lines = {}
          for rt in all_record_types:
              parsed_lines[rt] = []
          parsed_lines[0] = []
  
          for line in self.lines:
              linetype = line[0:6]
              if linetype in all_record_types:
                  parsed_lines[linetype].append(line)
              else:
                  parsed_lines[0].append(line)
  
          self.parsed_lines = parsed_lines
          self._update_structure_lines(f _split_lines(self):
          '''Creates the parsed_lines dict which keeps all record data in document order indexed by the record type.'''
          parsed_lines = {}
          for rt in all_record_types:
              parsed_lines[rt] = []
          parsed_lines[0] = []
  
          for line in self.lines:
              linetype = line[0:6]
              if linetype in all_record_types:
                  parsed_lines[linetype].append(line)
              else:
                  parsed_lines[0].append(line)
  
          self.parsed_lines = parsed_lines
          self._update_structure_lines()
docs: Creates the parsed_lines dict which keeps all record data in document order indexed by the record type.