Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __iter__
Method
__iter__
Lib/test/test_interpreters/utils.py:318–320 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
316
self._final = self._capturing.final()
317
self._capturing = None
318
def
__iter__(self):
319
self._finish()
320
yield
from
self._final
321
def
__len__(self):
322
self._finish()
323
return
len(self._final)
Callers
nothing calls this directly
Calls
1
_finish
Method · 0.95
Tested by
no test coverage detected