code: def todict(self):
          '''Convert to python dictionary.
  
          @return         dict suitable for initializing another IntelHex object.
          '''
          r = {}
          r.update(self._buf)
          if self.start_addr:
              r['start_addr'] = self.start_addr
          return f todict(self):
          '''Convert to python dictionary.
  
          @return         dict suitable for initializing another IntelHex object.
          '''
          r = {}
          r.update(self._buf)
          if self.start_addr:
              r['start_addr'] = self.start_addr
          return r
docs: Convert to python dictionary.
  
          @return         dict suitable for initializing another IntelHex object.