Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ SayWhenError
Class
SayWhenError
Lib/test/_test_multiprocessing.py:2893–2893 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2891
type(self).n_instances -= 1
2892
2893
class
SayWhenError(ValueError):
pass
2894
2895
def
exception_throwing_generator(total, when):
2896
if
when == -1:
Callers
1
exception_throwing_generator
Function · 0.85
Calls
no outgoing calls
Tested by
1
exception_throwing_generator
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…