Add the given number of space characters to the beginning of every non-blank line in `s`, and return the result.
(s, indent=4)
| 261 | return f.read(), filename |
| 262 | |
| 263 | def _indent(s, indent=4): |
| 264 | """ |
| 265 | Add the given number of space characters to the beginning of |
| 266 | every non-blank line in `s`, and return the result. |
| 267 | """ |
| 268 | # This regexp matches the start of non-blank lines: |
| 269 | return re.sub('(?m)^(?!$)', indent*' ', s) |
| 270 | |
| 271 | def _exception_traceback(exc_info): |
| 272 | """ |
no test coverage detected