MCPcopy Index your code
hub / github.com/RustPython/RustPython / out

Method out

Lib/doctest.py:1541–1543  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

1539 else:
1540 # Use backslashreplace error handling on write
1541 def out(s):
1542 s = str(s.encode(encoding, 'backslashreplace'), encoding)
1543 save_stdout.write(s)
1544 sys.stdout = self._fakeout
1545
1546 # Patch pdb.set_trace to restore sys.stdout during interactive

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
encodeMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected