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

Function _readline_side_effect

Lib/unittest/mock.py:2996–2999  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

2994 return _state[0].read(*args, **kwargs)
2995
2996 def _readline_side_effect(*args, **kwargs):
2997 yield from _iter_side_effect()
2998 while True:
2999 yield _state[0].readline(*args, **kwargs)
3000
3001 def _iter_side_effect():
3002 if handle.readline.return_value is not None:

Callers 2

mock_openFunction · 0.85
reset_dataFunction · 0.85

Calls 2

_iter_side_effectFunction · 0.85
readlineMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…