code: def _force_correct_text_reader(
      text_reader: t.IO[t.Any],
      encoding: t.Optional[str],
      errors: t.Optional[str],
      force_readable: bool = False,
  ) -> t.TextIO:
      return _force_correct_text_stream(
          text_reader,
          encoding,
          errors,
          _is_binary_reader,
          _find_binary_reader,
          force_readable=force_readable,
      )
  
imports: import codecs
  import io
  import os
  import re
  import sys
  import typing
  from weakref import WeakKeyDictionary
label_desc: Use image node_id 12 for calling a global function with example usage: _force_correct_text_reader(text_reader, encoding, errors, force_readable) and returns: _force_correct_text_stream