def remove_peer(self, address):

        for peer in self.peers:
            if peer.address == address:
                peer.handle_close()
                break
Remove a peer node.
dataset/ETHPy150Open ricmoo/pycoind/pycoind/node/basenode.py/BaseNode.remove_peer