Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ __iter__
Method
__iter__
tests/test_codecs.py:845–846 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
843
# A sized iterable is fine as array input.
844
class
Iterable:
845
def
__iter__(self):
846
return
iter([1, 2, 3])
847
848
def
__len__(self):
849
return
3
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected