MCPcopy Index your code
hub / github.com/python/cpython / implicit_stop_iteration

Method implicit_stop_iteration

Lib/test/test_monitoring.py:889–893  ·  view source on GitHub ↗
(iterator=None)

Source from the content-addressed store, hash-verified

887 return 2
888
889 def implicit_stop_iteration(iterator=None):
890 if iterator is None:
891 iterator = gen()
892 for _ in iterator:
893 pass
894
895 recorders=(ExceptionRecorder, StopiterationRecorder,)
896 expected = [("raise", StopIteration)]

Callers

nothing calls this directly

Calls 1

genFunction · 0.70

Tested by

no test coverage detected