Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ protocol_iternext.py
File
protocol_iternext.py
extra_tests/snippets/protocol_iternext.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
ls = [1, 2, 3]
2
3
i = iter(ls)
4
assert i.__next__() == 1
Callers
nothing calls this directly
Calls
5
iter
Function · 0.85
next
Function · 0.85
__next__
Method · 0.45
__setstate__
Method · 0.45
__reduce__
Method · 0.45
Tested by
no test coverage detected