code: def __exit__(self, exception_type, exception_value, traceback):
      self.close()
  
imports: from fontTools.misc.textTools import byteord, strjoin, tobytes, tostr
  import sys
  import os
  import string
label_desc: Use image node_id 3 for calling the XMLWriter obj's underlying member method code with example usage: obj.__exit__(exception_type, exception_value, traceback) without return types