@classmethod<EOL><INDENT>def parse_group(cls, group, lines, dist=None):<DEDENT>
if not MODULE(group):<EOL><INDENT>raise ValueError("<STR_LIT>", group)<EOL><DEDENT>this = {}<EOL>for line in yield_lines(lines):<EOL><INDENT>ep = cls.parse(line, dist)<EOL>if ep.name in this:<EOL><INDENT>raise ValueError("<STR_LIT>", group, ep.name)<EOL><DEDENT>this[ep.name] = ep<EOL><DEDENT>return this<EOL>
Parse an entry point group