def METHOD_NAME(self, name, value, attrs=None):
    """Return a list of one optgroup and selected values."""
    default = (None, [], 0)
    groups = [default]
    for i, v in enumerate(self.options(name, value, attrs)):
        default[1].append(
            self.create_option(v, v, v, True, i)
        )
    return groups