Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
def
groupbysorted(iterable, keyfunc=None):
Callers
9
equivalence_partition
Function · 0.45
merge_join
Function · 0.45
addTags
Method · 0.45
addTags
Method · 0.45
_subcls_factory
Method · 0.45
__parse
Method · 0.45
_check
Function · 0.45
peek
Method · 0.45
subiter
Function · 0.45
Calls
1
_is_empty
Method · 0.95
Tested by
no test coverage detected