def get_exported_entries(self, category, name=None):
for dist in self.get_distributions():<EOL><INDENT>r = dist.exports<EOL>if category in r:<EOL><INDENT>d = r[category]<EOL>if name is not None:<EOL><INDENT>if name in d:<EOL><INDENT>yield d[name]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>for v in d.values():<EOL><INDENT>yield v<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Return all of the exported entries in a particular category.

:param category: The category to search for entries.
:param name: If specified, only entries with that name are returned.