MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / __iter__

Method __iter__

tests/test_codecs.py:891–892  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

889 # A sized iterable is fine as array input.
890 class Iterable:
891 def __iter__(self):
892 return iter([1, 2, 3])
893
894 def __len__(self):
895 return 3

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected