nodes: 0, module; 1, function_definition; 2, function_name:prt_gos; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, dictionary_splat_pattern; 8, expression_statement; 9, comment:# deprecated; 10, comment:# Keyword arguments (control content): hdrgo_prt section_prt use_sections; 11, comment:# desc2nts contains: (sections hdrgo_prt sortobj) or (flat hdrgo_prt sortobj); 12, expression_statement; 13, comment:# Keyword arguments (control print format): prt prtfmt; 14, expression_statement; 15, return_statement; 16, identifier:prt; 17, attribute; 18, identifier:kws_usr; 19, comment:"""Sort user GO ids, grouped under broader GO terms or sections. Print to screen."""; 20, assignment; 21, call; 22, identifier:desc2nts; 23, identifier:sys; 24, identifier:stdout; 25, identifier:desc2nts; 26, call; 27, attribute; 28, argument_list; 29, attribute; 30, argument_list; 31, identifier:self; 32, identifier:prt_nts; 33, identifier:desc2nts; 34, identifier:prt; 35, call; 36, identifier:self; 37, identifier:get_desc2nts; 38, dictionary_splat; 39, attribute; 40, argument_list; 41, identifier:kws_usr; 42, identifier:kws_usr; 43, identifier:get; 44, string; 45, string_content:prtfmt
code: def prt_gos(self, prt=sys.stdout, **kws_usr):
          """Sort user GO ids, grouped under broader GO terms or sections. Print to screen."""
          # deprecated
          # Keyword arguments (control content): hdrgo_prt section_prt use_sections
          # desc2nts contains: (sections hdrgo_prt sortobj) or (flat hdrgo_prt sortobj)
          desc2nts = self.get_desc2nts(**kws_usr)
          # Keyword arguments (control print format): prt prtfmt
          self.prt_nts(desc2nts, prt, kws_usr.get('prtfmt'))
          return desc2nts