MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / out

Method out

tools/python-3.11.9-amd64/Lib/doctest.py:1493–1495  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

1491 else:
1492 # Use backslashreplace error handling on write
1493 def out(s):
1494 s = str(s.encode(encoding, 'backslashreplace'), encoding)
1495 save_stdout.write(s)
1496 sys.stdout = self._fakeout
1497
1498 # 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