txgossip/recipies.py
def start_election(self):
        """Start an election.

        Elections should be started when the cluster membership view
        changes (i.e.g, when a peer joins the cluster, or when a peer
        dies).

        It is safe to call this while an election is taking place.
        """
        if self._election_timeout is not None:
            self._election_timeout.cancel()
        self._election_timeout = self.clock.callLater(self.vote_delay,
                self._vote)
Start an election.

        Elections should be started when the cluster membership view
        changes (i.e.g, when a peer joins the cluster, or when a peer
        dies).

        It is safe to call this while an election is taking place.
        
Start an election.
Elections should be started when the cluster membership view
changes .

It is safe to call this while an election is taking place.
Start an election . Elections should be started when the cluster membership view changes . It is safe to call this while an election is taking place .
def start_election(self):
        if self._election_timeout is not None:
            self._election_timeout.cancel()
        self._election_timeout = self.clock.callLater(self.vote_delay,
                self._vote)
def start_election ( self ) : if self . _election_timeout is not None : self . _election_timeout . cancel ( ) self . _election_timeout = self . clock . callLater ( self . vote_delay , self . _vote )
Start an election.
Start an election .
"""Start an election.

        Elections should be started when the cluster membership view
        changes (i.e.g, when a peer joins the cluster, or when a peer
        dies).

        It is safe to call this while an election is taking place.
        """
self