L = [[getattr(self, attr), attr] for attr in dir(self) if not attr.startswith("__")]
>>> [a for a in dir(obj) if not a.startswith('__')] ['bar', 'foo', 'func']