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

Function _set_context

Lib/_py_warnings.py:98–100  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

96
97
98def _set_context(context):
99 assert _use_context
100 _wm._warnings_context.set(context)
101
102
103def _new_context():

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…