code: def coverage_with_hotshot(fn):
      
      fp = HotShotFuncCoverage(fn)
      # We cannot return fp or fp.__call__ directly as that would break method
      # definitions, instead we need to return a plain function.
      def new_fn(*args, **kw):
          return fp(*args, **kw)
      new_fn.__doc__ = fn.__doc__
      new_fn.__name__ = fn.__name__
      new_fn.__dict__ = fn.__dict__
      new_fn.__module__ = fn.__module__
      return new_fn
docs: Mark `fn` for line coverage analysis.
  
      Uses the 'hotshot' module for fast coverage analysis.
  
      BUG: Produces inaccurate results.
  
      See the docstring of `coverage` for usage examples.