MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _indent

Function _indent

Lib/doctest.py:225–235  ·  view source on GitHub ↗

Add the given number of space characters to the beginning of every non-blank line in `s`, and return the result. If the string `s` is Unicode, it is encoded using the stdout encoding and the `backslashreplace` error handler.

(s, indent=4)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

report_startMethod · 0.85
_failure_headerMethod · 0.85
output_differenceMethod · 0.85

Calls 2

encodeMethod · 0.45
subMethod · 0.45

Tested by

no test coverage detected