code: def print_config(self, _):
          ''' Print configuration. '''
          for section in self.config.sections():
              print '[%s]' % section
              items = dict(self.config.items(section))
              for k in items:
                  print "%(a)s=%(b)s" % {'a': k, 'b': items[k]}
              print 'f print_config(self, _):
          ''' Print configuration. '''
          for section in self.config.sections():
              print '[%s]' % section
              items = dict(self.config.items(section))
              for k in items:
                  print "%(a)s=%(b)s" % {'a': k, 'b': items[k]}
              print ''
docs: Print configuration.