(cls, group, lines, dist=None)
return this
Parse an entry point group
Parse an entry point group
Parse an entry point group
def parse_group(cls, group, lines, dist=None):
        """Parse an entry point group"""
        if not MODULE(group):
            raise ValueError("Invalid group name", group)
        this = {}
        for line in yield_lines(lines):
            ep = cls.parse(line, dist)
            if ep.name in this:
                raise ValueError("Duplicate entry point", group, ep.name)
            this[ep.name] = ep
        return this
def parse_group ( cls , group , lines , dist = None ) : if not MODULE ( group ) : raise ValueError ( "Invalid group name" , group ) this = { } for line in yield_lines ( lines ) : ep = cls . parse ( line , dist ) if ep . name in this : raise ValueError ( "Duplicate entry point" , group , ep . name ) this [ ep . name ] = ep return this