MCPcopy Create free account
hub / github.com/SplootCode/splootcode / wrapStdin

Function wrapStdin

python/executor.py:984–988  ·  view source on GitHub ↗
(readline)

Source from the content-addressed store, hash-verified

982 wrapStdin
983 except NameError:
984 def wrapStdin(readline):
985 def f():
986 runtime_capture.report(json.dumps(capture.toDict()))
987 return readline()
988 return f
989
990 fakeprint.stdout.write = wrapStdout(fakeprint.stdout.write)
991 fakeprint.stdin.readline = wrapStdin(fakeprint.stdin.readline)

Callers 1

executor.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected