code: def __del__(self) -> None:
      try:
          self.detach()
      except Exception:
          pass
  
imports: import codecs
  import io
  import os
  import re
  import sys
  import typing
  from weakref import WeakKeyDictionary
label_desc: Use image node_id 2 for calling the _NonClosingTextIOWrapper obj's underlying member method code with example usage: obj.__del__() without return types