def print_info(self, buf=None):
        """Print help sections."""
        buf = buf or sys.stdout
        print >> buf, "Sections:"
        for i, section in enumerate(self._sections):
            print >> buf, "  %s:\t%s (%s)" % (i + 1, section[0], section[1])
def print_info ( self , buf = None ) : buf = buf or sys . stdout print >> buf , "Sections:" for i , section in enumerate ( self . _sections ) : print >> buf , "  %s:\t%s (%s)" % ( i + 1 , section [ 0 ] , section [ 1 ] )
Print help sections.