class_docstr: This wrapper is used to catch and suppress BrokenPipeErrors resulting
  from ``.flush()`` being called on broken pipe during the shutdown/final-GC
  of the Python interpreter. Notably ``.flush()`` is always called on
  ``sys.stdout`` and ``sys.stderr``. So as to have minimal impact on any
  other cleanup code, and the case where the underlying file is not a broken
  pipe, all calls and attributes are proxied.
class_docstr_tok: ["This","wrapper","is","used","to","catch","and","suppress","BrokenPipeErrors","resulting","from","``",".flush","(",")","``","being","called","on","broken","pipe","during","the","shutdown\/final-GC","of","the","Python","interpreter",".","Notably","``",".flush","(",")","``","is","always","called","on","``","sys.stdout","``","and","``","sys.stderr","``",".","So","as","to","have","minimal","impact","on","any","other","cleanup","code",",","and","the","case","where","the","underlying","file","is","not","a","broken","pipe",",","all","calls","and","attributes","are","proxied","."]
code: def __init__(self, wrapped: t.IO[t.Any]) -> None:
      self.wrapped = wrapped
  
imports: import os
  import re
  import sys
  import typing
  from functools import update_wrapper
  from types import ModuleType
  from types import TracebackType
  from ._compat import _default_text_stderr
  from ._compat import _default_text_stdout
  from ._compat import _find_binary_writer
  from ._compat import auto_wrap_for_ansi
  from ._compat import binary_streams
  from ._compat import open_stream
  from ._compat import should_strip_ansi
  from ._compat import strip_ansi
  from ._compat import text_streams
  from ._compat import WIN
  from .globals import resolve_color_default
label_desc: Use image node_id 1 to create a new PacifyFlushWrapper object  with example: obj = PacifyFlushWrapper(wrapped)