Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ _safe_next
Method
_safe_next
tools/inspector_protocol/jinja2/runtime.py:453–457 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
451
return
LoopContextIterator(self)
452
453
def
_safe_next(self):
454
try
:
455
return
next(self._iterator)
456
except
StopIteration:
457
return
_last_iteration
458
459
460
@implements_iterator
Callers
2
__init__
Method · 0.95
__next__
Method · 0.80
Calls
1
next
Function · 0.50
Tested by
no test coverage detected