'Return `(members_check_module, members)` where `members` is a
list of `(membername, member)` pairs of the members of *self.object*.
If *want_all* is True, return all members.  Else, only return those
members given by *self.options.members* (which may also be none).'

def get_object_members(self, want_all):

    if (not want_all):
        if (not self.options.members):
            return (False, [])
        ret = []
        for mname in self.options.members:
            try:
                ret.append((mname, self.get_attr(self.object, mname)))
            except AttributeError:
                self.directive.warn(('missing    attribute    %s    in    object    %s' % (mname, self.fullname)))
        return (False, ret)
    elif self.options.inherited_members:
        return (False, safe_getmembers(self.object))
    else:
        return (False, sorted([(mname, self.get_attr(self.object, mname, None)) for mname in self.get_attr(self.object, '__dict__').keys()]))
