python's famous indent

def indent(self, code, level=1):
    '''python's famous indent'''
    lines = code.split('\n')
    lines = tuple(self.indent_space*level + line for line in lines)
    return '\n'.join(lines)