code: def _prt_py_sections(self, sec2d_nt, prt=sys.stdout, doc=None):
          
          if doc is None:
              doc = 'Sections variable'
          prt.write('"""{DOC}"""\n\n'.format(DOC=doc))
          self.prt_ver(prt)
          prt.write("# pylint: disable=line-too-long\n")
          strcnt = self.get_summary_str(sec2d_nt)
          prt.write("SECTIONS = [ # {CNTS}\n".format(CNTS=strcnt))
          prt.write('    # ("New Section", [\n')
          prt.write('    # ]),\n')
          for section_name, nthdrgos in sec2d_nt:
              self._prt_py_section(prt, section_name, nthdrgos)
          prt.write("]\n")
docs: Print sections 2-D list into a Python format list.