def synapsesForSegment(self, segment):
return segment._synapses<EOL>
Returns the synapses on a segment.

:param segment: (int) Segment index
:returns: (set) Synapse objects representing synapses on the given segment.