def METHOD_NAME(self, presynaptic_indices, postsynaptic_index,
                        **connection_parameters):
    for name, value in connection_parameters.items():
        if isinstance(value, float):
            connection_parameters[name] = repeat(value)
    for pre_idx, other in ezip(presynaptic_indices, *connection_parameters.values()):
        other_attributes = dict(zip(connection_parameters.keys(), other))
        self.connections.append(
            Connection(pre_idx,
                       postsynaptic_index,
                       self.presynaptic_population,
                       self.postsynaptic_population,
                       self.projection,
                       len(self.connections),
                       self.pre_pop_comp,
                       self.post_pop_comp,
                       **other_attributes)