def prettify(self, encoding=None, formatter='minimal', indent_width=3):
    return r.sub(('\\1' * indent_width), orig_prettify(self, encoding, formatter))
def prettify(self, encoding=None, formatter='minimal', indent_width=3):
    return r.sub(('\\1' * indent_width), orig_prettify(self, encoding, formatter))