def iter_nodes(self, key):
if len(self.ring) == <NUM_LIT:0>:<EOL><INDENT>yield None, None<EOL><DEDENT>node, pos = self.get_node_pos(key)<EOL>for k in self.sorted_keys[pos:]:<EOL><INDENT>yield k, self.ring[k]<EOL><DEDENT>
Given a string key it returns the nodes as a generator that can hold the key.