code: def _remove_node(self, node_name):
          
          try:
              node_conf = self._nodes.pop(node_name)
          except Exception:
              raise KeyError('node \'{}\' not found, available nodes: {}'.format(
                  node_name, self._nodes.keys()))
          else:
              self._distribution.pop(node_name)
              for w in range(0, node_conf['vnodes'] * node_conf['weight']):
                  del self._ring[self.hashi('%s-%s' % (node_name, w))]
              self._keys = sorted(self._ring.keys())
docs: Remove the given node from the continuum/ring.
  
          :param node_name: the node name.