code: def toXML(self, writer, ttFont):
      items = sorted(self.gaspRange.items())
      for rangeMaxPPEM, rangeGaspBehavior in items:
          writer.simpletag(
              "gaspRange",
              [
                  ("rangeMaxPPEM", rangeMaxPPEM),
                  ("rangeGaspBehavior", rangeGaspBehavior),
              ],
          )
          writer.newline()
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/_g_a_s_p.py
imports: from fontTools.misc.textTools import safeEval
  from .None import DefaultTable
  import struct
label_desc: Use image node_id 3 for calling the table__g_a_s_p obj's underlying member method code with example usage: obj.toXML(writer, ttFont) without return types