class_docstr: File-like object writing to two streams.
code: def __init__(
      self,
      stream_term: SupportsWrite,
      stream_file: SupportsWrite,
  ) -> None:
      self.stream_term = stream_term
      self.stream_file = stream_file
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from sphinx.util.console import _strip_escape_sequences
label_desc: Use image node_id 1 to create a new TeeStripANSI object  with example: obj = TeeStripANSI(stream_term, stream_file)