code: def __init__(
      self,
      stream: t.BinaryIO,
      encoding: t.Optional[str],
      errors: t.Optional[str],
      force_readable: bool = False,
      force_writable: bool = False,
      **extra: t.Any,
  ) -> None:
      self._stream = stream = t.cast(
          t.BinaryIO,
          _FixupStream(stream, force_readable, force_writable),
      )
      super().__init__(stream, encoding, errors, **extra)
  
imports: import codecs
  import io
  import os
  import re
  import sys
  import typing
  from weakref import WeakKeyDictionary
label_desc: Use image node_id 1 to create a new _NonClosingTextIOWrapper object from inherited base classes: io with example: obj = _NonClosingTextIOWrapper(stream, encoding, errors, force_readable, force_writable)