Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ next
Method
next
recipes/Python/498272_Rich_iterator_wrapper/recipe-498272.py:19–19 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
17
def
__init__(self, *args): self._it = iter(*args)
18
def
__iter__(self):
return
self
19
def
next(self):
return
self._it.next()
20
21
def
__add__(self, other):
22
if
not isinstance(other,Iter):
Callers
9
pairwise
Function · 0.45
recipe-498130.py
File · 0.45
__getitem__
Method · 0.45
wrapper
Function · 0.45
reduced
Function · 0.45
recipe-498264.py
File · 0.45
wrapper
Function · 0.45
recipe-498271.py
File · 0.45
call_common
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected