Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ __iter__
Method
__iter__
pymongo/synchronous/cursor.py:1168–1169 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1166
return
self.next()
1167
1168
def
__iter__(self) -> Cursor[_DocumentType]:
1169
return
self
1170
1171
def
__enter__(self) -> Cursor[_DocumentType]:
1172
return
self
Callers
1
iter
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected