parameters: (self, outputfile)
docstring: Constructor takes a file-like object to write output to.
docstring_summary: Constructor takes a file-like object to write output to.
docstring_tokens: Constructor takes a file - like object to write output to .
function: def __init__(self, outputfile):
      """ Constructor takes a file-like object to write output to."""
      self._realstdout = sys.stdout
      self._outputfile = outputfile
function_tokens: def __init__ ( self , outputfile ) : self . _realstdout = sys . stdout self . _outputfile = outputfile