(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS)
| 363 | # end def delete_string |
| 364 | |
| 365 | def reformat_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): |
| 366 | input = io.StringIO(source) |
| 367 | output = io.StringIO() |
| 368 | pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs) |
| 369 | pi.reformat() |
| 370 | return output.getvalue() |
| 371 | # end def reformat_string |
| 372 | |
| 373 | def make_backup(filename): |
no test coverage detected