code: def fromXML(self, name, attrs, content, ttFont) -> None:
      if name == "assembly":
          self.fromAssembly(strjoin(content))
          self._assemble()
          del self.assembly
      else:
          assert name == "bytecode"
          self.fromBytecode(readHex(content))
  
imports: from __future__ import annotations
  from fontTools.misc.textTools import num2binary, binary2num, readHex, strjoin
  import array
  from io import StringIO
  from typing import List
  import re
  import logging
label_desc: Use image node_id 7 for calling the Program obj's underlying member method code with example usage: obj.fromXML(name, attrs, content, ttFont) without return types