Searched refs:advance_iterator (Results 1 – 8 of 8) sorted by relevance
220 assert six.advance_iterator(f) == 1226 assert six.advance_iterator(f) == 0227 assert six.advance_iterator(f) == 3228 assert six.advance_iterator(f) == 6232 assert six.advance_iterator(map(lambda x: x + 1, range(2))) == 1243 assert six.advance_iterator(zip(range(2), range(2))) == (0, 0)251 assert six.advance_iterator(it) == (0, 0)252 assert six.advance_iterator(it) == (1, None)407 py.test.raises(StopIteration, six.advance_iterator, it)438 assert six.next is six.advance_iterator[all …]
527 advance_iterator = next variable529 def advance_iterator(it): function531 next = advance_iterator
263 - Add six.next() as an alias for six.advance_iterator().265 - Use the builtin next() function for advance_iterator() where is available
19 from six import advance_iterator, integer_types136 cache.append(advance_iterator(gen))163 res = advance_iterator(gen)1308 self.dt = advance_iterator(gen)1317 self.dt = advance_iterator(self.gen)1393 advance_iterator(exitem)1400 advance_iterator(ritem)
521 advance_iterator = next variable523 def advance_iterator(it): function525 next = advance_iterator
531 advance_iterator = next variable533 def advance_iterator(it): function535 next = advance_iterator
163 advance_iterator(it)