code: def __exit__(
      self, exc_type: t.Optional[t.Type[BaseException]], *_: t.Any
  ) -> None:
      self.close(delete=exc_type is not None)
  
imports: import codecs
  import io
  import os
  import re
  import sys
  import typing
  from weakref import WeakKeyDictionary
label_desc: Use image node_id 6 for calling the _AtomicFile obj's underlying member method code with example usage: obj.__exit__(exc_type) without return types