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

Function _exit_side_effect

Lib/unittest/mock.py:3013–3014  ·  view source on GitHub ↗
(exctype, excinst, exctb)

Source from the content-addressed store, hash-verified

3011 return next(_state[0])
3012
3013 def _exit_side_effect(exctype, excinst, exctb):
3014 handle.close()
3015
3016 global file_spec
3017 if file_spec is None:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…