@FeatureNew('custom_target.to_list', '0.54.0')
@noPosargs
@permittedKwargs({})
def to_list_method(self, args, kwargs):
    result = []
    for i in self.held_object:
        result.append(CustomTargetIndexHolder(i, self.interpreter))
    return result
@FeatureNew('custom_target.to_list', '0.54.0')
@noPosargs
@permittedKwargs({})
def to_list_method(self, args, kwargs):
    result = []
    for i in self.held_object:
        result.append(CustomTargetIndexHolder(i, self.interpreter))
    return result