MCPcopy Create free account
hub / github.com/ActiveState/code / next

Method next

recipes/Python/499379_GroupBySorted/recipe-499379.py:57–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 return self._buf
56
57 def next(self):
58 if self._is_empty():
59 return self._iterable.next()
60 ret = self._buf
61 self._buf = self._None
62 return ret
63
64
65def groupbysorted(iterable, keyfunc=None):

Callers 9

equivalence_partitionFunction · 0.45
merge_joinFunction · 0.45
addTagsMethod · 0.45
addTagsMethod · 0.45
_subcls_factoryMethod · 0.45
__parseMethod · 0.45
_checkFunction · 0.45
peekMethod · 0.45
subiterFunction · 0.45

Calls 1

_is_emptyMethod · 0.95

Tested by

no test coverage detected