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

Method loop

Lib/test/test_generators.py:272–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

270 raise ValueError()
271
272 def loop():
273 try:
274 for _ in gen_raises():
275 if True is False:
276 return
277 except ValueError:
278 pass
279
280 #This should not raise
281 loop()

Callers 5

runMethod · 0.45
runMethod · 0.45
serve_foreverMethod · 0.45
runMethod · 0.45
smtpd.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected