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

Method out

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

Source from the content-addressed store, hash-verified

1566 else:
1567 # Use backslashreplace error handling on write
1568 def out(s):
1569 s = str(s.encode(encoding, 'backslashreplace'), encoding)
1570 save_stdout.write(s)
1571 sys.stdout = self._fakeout
1572
1573 # 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