MCPcopy 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

1ls = [1, 2, 3]
2
3i = iter(ls)
4assert i.__next__() == 1

Callers

nothing calls this directly

Calls 5

iterFunction · 0.85
nextFunction · 0.85
__next__Method · 0.45
__setstate__Method · 0.45
__reduce__Method · 0.45

Tested by

no test coverage detected