Returns a list of synapses with the given pre-synaptic neuron.
- Parameters:
pre_id (int | Neuron, required) – The ID of the pre-synaptic neuron.
- Raises:
TypeError – If pre_id is not an int or Neuron.
- Returns:
A list of Synapses with the given pre-synaptic neuron. May be empty.
- Return type:
list