def __public_objs(self):
_budoc = getattr(self.module.module, '<STR_LIT>', {})<EOL>def forced_out(name):<EOL><INDENT>return _budoc.get('<STR_LIT>' % (self.name, name), False) is None<EOL><DEDENT>def exported(name):<EOL><INDENT>exported = name == '<STR_LIT>' or _is_exported(name)<EOL>return not forced_out(name) and exported<EOL><DEDENT>idents = dict(inspect.getmembers(self.cls))<EOL>return dict([(n, o) for n, o in idents.items() if exported(n)])<EOL>
Returns a dictionary mapping a public identifier name to a
Python object. This counts the `__init__` method as being
public.