parameters: (self, offset)
return_statement: return s
docstring: Get the part of the source which is causing a problem.
docstring_summary: Get the part of the source which is causing a problem.
docstring_tokens: Get the part of the source which is causing a problem .
function: def get_fragment(self, offset):
          """
          Get the part of the source which is causing a problem.
          """
          fragment_len = 10
          s = '%r' % (self.source[offset:offset + fragment_len])
          if offset + fragment_len < len(self.source):
              s += '...'
          return s
function_tokens: 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