docs: def _get_call_summary(self, call, index=0, inspect_packages=True):
          '''
          get a call summary
  
          a call summary is a nicely formatted string synopsis of the call
  
          handy for backtraces
  
          since -- 7-6-12
  
          call_info -- dict -- the dict returned from _get_call_info()
          index -- integer -- set to something above 0 if you would like the summary to be numbered
          inspect_packages -- boolean -- set to True to get the full format even for system frames
  
          return -- string
          '''
          call_info = call.info
          inspect_regex = re.compile(r'[\\\\/]python\d(?:\.\d+)?', re.I)
  
          # truncate the filepath if it is super long
          f = call_info['file']
          if len(f) > 75:
              f = "{}...{}".format(f[0:30], f[-45:])
  
          if inspect_packages or not inspect_regex.search(call_info['file']): 
  
              s = "{}:{}\n\n{}\n\n".format(
                  f,
                  call_info['line'],
                  String(call_info['call']).indent(1)
              )
  
          else:
  
              s = "{}:{}\n".format(
                  f,
                  call_info['line']
              )
  
          if index > 0:
              s = "{:02d} - {}".format(index, s)
  
          return s