code: def prt_sections(prt, sections, prtfmt, secspc=False):
          
          num_goids = 0
          for section, nts_flat in sections:
              # Add an empty line between sections, if desired
              if secspc:
                  prt.write("\n")
              prt.write("{SECTION}\n".format(SECTION=section))
              num_nts = len(nts_flat)
              num_goids += num_nts
              prt_txt(prt, nts_flat, prtfmt=prtfmt)
docs: Print GO namedtuples in their sections.