def updateSynapsePermanence(self, synapse, permanence):
synapse.permanence = permanence<EOL>
Updates the permanence for a synapse.

:param synapse: (class:`Synapse`) to be updated.
:param permanence: (float) New permanence.