parameters: (self)
docstring: Parses configuration file items from one
          or more related sections.
docstring_summary: Parses configuration file items from one
          or more related sections.
docstring_tokens: Parses configuration file items from one or more related sections .
function: def parse(self):
          """Parses configuration file items from one
          or more related sections.
  
          """
          for section_name, section_options in self.sections.items():
  
              method_postfix = ''
              if section_name:  # [section.option] variant
                  method_postfix = '_%s' % section_name
  
              section_parser_method = getattr(
                  self,
                  # Dots in section names are translated into dunderscores.
                  ('parse_section%s' % method_postfix).replace('.', '__'),
                  None)
  
              if section_parser_method is None:
                  raise DistutilsOptionError(
                      'Unsupported distribution option section: [%s.%s]' % (
                          self.section_prefix, section_name))
  
              section_parser_method(section_options)
function_tokens: def parse ( self ) : for section_name , section_options in self . sections . items ( ) : method_postfix = '' if section_name : # [section.option] variant method_postfix = '_%s' % section_name section_parser_method = getattr ( self , # Dots in section names are translated into dunderscores. ( 'parse_section%s' % method_postfix ) . replace ( '.' , '__' ) , None ) if section_parser_method is None : raise DistutilsOptionError ( 'Unsupported distribution option section: [%s.%s]' % ( self . section_prefix , section_name ) ) section_parser_method ( section_options )