def get__all__entries(obj):
try:<EOL><INDENT>words = getattr(obj, '<STR_LIT>')<EOL><DEDENT>except:<EOL><INDENT>return []<EOL><DEDENT>return [w for w in words if isinstance(w, basestring)]<EOL>
returns the strings in the __all__ attribute