code: def get_fragment(self, offset):
          
          fragment_len = 10
          s = '%r' % (self.source[offset:offset + fragment_len])
          if offset + fragment_len < len(self.source):
              s += '...'
          return s
docs: Get the part of the source which is causing a problem.