class_docstr: Holds the captured result of an invoked CLI script.
class_docstr_tok: ["Holds","the","captured","result","of","an","invoked","CLI","script","."]
code: def __init__(
      self,
      runner: "CliRunner",
      stdout_bytes: bytes,
      stderr_bytes: t.Optional[bytes],
      return_value: t.Any,
      exit_code: int,
      exception: t.Optional[BaseException],
      exc_info: t.Optional[
          t.Tuple[t.Type[BaseException], BaseException, TracebackType]
      ] = None,
  ):
      #: The runner that created the result
      self.runner = runner
      #: The standard output as bytes.
      self.stdout_bytes = stdout_bytes
      #: The standard error as bytes, or None if not available
      self.stderr_bytes = stderr_bytes
      #: The value returned from the invoked command.
      #:
      #: .. versionadded:: 8.0
      self.return_value = return_value
      #: The exit code as integer.
      self.exit_code = exit_code
      #: The exception that happened if one did.
      self.exception = exception
      #: The traceback
      self.exc_info = exc_info
  
imports: import contextlib
  import io
  import os
  import shlex
  import shutil
  import sys
  import tempfile
  import typing
  from types import TracebackType
  from .None import formatting
  from .None import termui
  from .None import utils
  from ._compat import _find_binary_reader
label_desc: Use image node_id 1 to create a new Result object  with example: obj = Result(runner, stdout_bytes, stderr_bytes, return_value, exit_code, exception, exc_info)