txgossip/recipies.py
def leader_elected(self, is_leader, leader):
        """Notifcation about leader election result.

        @param is_leader: C{True} if this peer is the leader.
        @param leader: The address of the peer that is the leader.
        """
        self.is_leader = is_leader
Notifcation about leader election result.

        @param is_leader: C{True} if this peer is the leader.
        @param leader: The address of the peer that is the leader.
        
Notifcation about leader election result.
Notifcation about leader election result .
def leader_elected(self, is_leader, leader):
        self.is_leader = is_leader
def leader_elected ( self , is_leader , leader ) : self . is_leader = is_leader
Notifcation about leader election result.
Notifcation about leader election result .
"""Notifcation about leader election result.

        @param is_leader: C{True} if this peer is the leader.
        @param leader: The address of the peer that is the leader.
        """
self
is_leader
C{True} if this peer is the leader.
C { True } if this peer is the leader .
leader
The address of the peer that is the leader.
The address of the peer that is the leader .